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:
946ac93
)
Fix a warning
author
Chris Lattner
<sabre@nondot.org>
Fri, 30 Sep 2005 06:09:50 +0000
(06:09 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 30 Sep 2005 06:09:50 +0000
(06:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23550
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/FileParser.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/FileParser.cpp
b/utils/TableGen/FileParser.cpp
index 87897f5c5ce0a1eb2ed437ad76396b8d92f08b07..2ab93adc704a77d53f38f948bc4af18625764fac 100644
(file)
--- a/
utils/TableGen/FileParser.cpp
+++ b/
utils/TableGen/FileParser.cpp
@@
-1518,7
+1518,7
@@
case 69:
#line 543 "/Users/sabre/llvm/utils/TableGen/FileParser.y"
{
// If a class of this name already exists, it must be a forward ref.
- if (
CurRec = Records.getClass(*yyvsp[0].StrVal
)) {
+ if (
(CurRec = Records.getClass(*yyvsp[0].StrVal)
)) {
// If the body was previously defined, this is an error.
if (!CurRec->getValues().empty() ||
!CurRec->getSuperClasses().empty() ||