summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-12-13 00:20:52 +0000
committerChris Lattner <sabre@nondot.org>2010-12-13 00:20:52 +0000
commit9d6250f52ba4ba0a34d44aa2cc9d3fa14c15a006 (patch)
tree87cbfa52136480d9d9d97c25602f76b183e01a10 /utils
parent4c247f6f3bb67abaed9785df50b3d9c015b6a560 (diff)
downloadllvm-9d6250f52ba4ba0a34d44aa2cc9d3fa14c15a006.tar.gz
llvm-9d6250f52ba4ba0a34d44aa2cc9d3fa14c15a006.tar.bz2
llvm-9d6250f52ba4ba0a34d44aa2cc9d3fa14c15a006.tar.xz
clean up RecordKeeper::getAllDerivedDefinitions, patch by Garrison Venn!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121658 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/Record.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/Record.cpp b/utils/TableGen/Record.cpp
index 83db66d14e..f7a249fd9e 100644
--- a/utils/TableGen/Record.cpp
+++ b/utils/TableGen/Record.cpp
@@ -1497,7 +1497,7 @@ raw_ostream &llvm::operator<<(raw_ostream &OS, const RecordKeeper &RK) {
/// 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";