From c11299b4a7067877b27b4d5e2854df9fa202df89 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Mon, 27 Jul 2015 17:22:19 +0000 Subject: [PATCH] [TableGen] Emit the correct error message. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243284 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/TableGen/SetTheory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/TableGen/SetTheory.cpp b/lib/TableGen/SetTheory.cpp index 07c538159dc..f56b17acbfb 100644 --- a/lib/TableGen/SetTheory.cpp +++ b/lib/TableGen/SetTheory.cpp @@ -196,7 +196,7 @@ struct SequenceOp : public SetTheory::Operator { if (IntInit *II = dyn_cast(Expr->arg_begin()[2])) To = II->getValue(); else - PrintFatalError(Loc, "From must be an integer: " + Expr->getAsString()); + PrintFatalError(Loc, "To must be an integer: " + Expr->getAsString()); if (To < 0 || To >= (1 << 30)) PrintFatalError(Loc, "To out of range"); -- 2.34.1