Skip to content

Commit fa04402

Browse files
committedJul 27, 2015
[TableGen] Emit the correct error message.
llvm-svn: 243284
1 parent 0ae7393 commit fa04402

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎llvm/lib/TableGen/SetTheory.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ struct SequenceOp : public SetTheory::Operator {
196196
if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[2]))
197197
To = II->getValue();
198198
else
199-
PrintFatalError(Loc, "From must be an integer: " + Expr->getAsString());
199+
PrintFatalError(Loc, "To must be an integer: " + Expr->getAsString());
200200
if (To < 0 || To >= (1 << 30))
201201
PrintFatalError(Loc, "To out of range");
202202

0 commit comments

Comments
 (0)
Please sign in to comment.