mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 15:51:54 +00:00
[TableGen] Emit the correct error message.
llvm-svn: 243284
This commit is contained in:
parent
8f1d7fbe9e
commit
a3effedb4a
@ -196,7 +196,7 @@ struct SequenceOp : public SetTheory::Operator {
|
||||
if (IntInit *II = dyn_cast<IntInit>(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");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user