[llvm-commits] [llvm] r121658 - /llvm/trunk/utils/TableGen/Record.cpp

Chris Lattner sabre at nondot.org
Sun Dec 12 16:20:52 PST 2010


Author: lattner
Date: Sun Dec 12 18:20:52 2010
New Revision: 121658

URL: http://llvm.org/viewvc/llvm-project?rev=121658&view=rev
Log:
clean up RecordKeeper::getAllDerivedDefinitions, patch by Garrison Venn!

Modified:
    llvm/trunk/utils/TableGen/Record.cpp

Modified: llvm/trunk/utils/TableGen/Record.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/Record.cpp?rev=121658&r1=121657&r2=121658&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/Record.cpp (original)
+++ llvm/trunk/utils/TableGen/Record.cpp Sun Dec 12 18:20:52 2010
@@ -1497,7 +1497,7 @@
 /// name does not exist, an error is printed and true is returned.
 std::vector<Record*>
 RecordKeeper::getAllDerivedDefinitions(const std::string &ClassName) const {
-  Record *Class = Records.getClass(ClassName);
+  Record *Class = getClass(ClassName);
   if (!Class)
     throw "ERROR: Couldn't find the `" + ClassName + "' class!\n";
 





More information about the llvm-commits mailing list