[llvm-commits] CVS: llvm/utils/TableGen/FileParser.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Sep 29 23:10:02 PDT 2005
Changes in directory llvm/utils/TableGen:
FileParser.cpp updated: 1.8 -> 1.9
---
Log message:
Fix a warning
---
Diffs of the changes: (+1 -1)
FileParser.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/utils/TableGen/FileParser.cpp
diff -u llvm/utils/TableGen/FileParser.cpp:1.8 llvm/utils/TableGen/FileParser.cpp:1.9
--- llvm/utils/TableGen/FileParser.cpp:1.8 Thu Sep 29 23:53:25 2005
+++ llvm/utils/TableGen/FileParser.cpp Fri Sep 30 01:09:50 2005
@@ -1518,7 +1518,7 @@
#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() ||
More information about the llvm-commits
mailing list