[llvm-commits] CVS: llvm/utils/TableGen/Record.cpp

Nate Begeman natebegeman at mac.com
Wed Nov 30 10:37:26 PST 2005



Changes in directory llvm/utils/TableGen:

Record.cpp updated: 1.47 -> 1.48
---
Log message:

Fix some copy and paste typos.


---
Diffs of the changes:  (+2 -2)

 Record.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/utils/TableGen/Record.cpp
diff -u llvm/utils/TableGen/Record.cpp:1.47 llvm/utils/TableGen/Record.cpp:1.48
--- llvm/utils/TableGen/Record.cpp:1.47	Fri Oct 28 17:49:02 2005
+++ llvm/utils/TableGen/Record.cpp	Wed Nov 30 12:37:14 2005
@@ -741,7 +741,7 @@
   if (IntInit *II = dynamic_cast<IntInit*>(R->getValue()))
     return II->getValue();
   throw "Record `" + getName() + "', field `" + FieldName +
-        "' does not have a list initializer!";
+        "' does not have an int initializer!";
 }
 
 /// getValueAsDef - This method looks up the specified field and returns its
@@ -757,7 +757,7 @@
   if (DefInit *DI = dynamic_cast<DefInit*>(R->getValue()))
     return DI->getDef();
   throw "Record `" + getName() + "', field `" + FieldName +
-        "' does not have a list initializer!";
+        "' does not have a def initializer!";
 }
 
 /// getValueAsBit - This method looks up the specified field and returns its






More information about the llvm-commits mailing list