mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
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
This commit is contained in:
parent
4c247f6f3b
commit
9d6250f52b
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user