projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80ec0f8
)
[TableGen] Emit the correct error message.
author
Davide Italiano
<davide@freebsd.org>
Mon, 27 Jul 2015 17:22:19 +0000
(17:22 +0000)
committer
Davide Italiano
<davide@freebsd.org>
Mon, 27 Jul 2015 17:22:19 +0000
(17:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243284
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/TableGen/SetTheory.cpp
patch
|
blob
|
history
diff --git
a/lib/TableGen/SetTheory.cpp
b/lib/TableGen/SetTheory.cpp
index 07c538159dcb6328f20576f43af08331fde2ecb5..f56b17acbfbae110d2ce0214043f2c0f9e1e1cf0 100644
(file)
--- a/
lib/TableGen/SetTheory.cpp
+++ b/
lib/TableGen/SetTheory.cpp
@@
-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");