mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +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.
|
/// name does not exist, an error is printed and true is returned.
|
||||||
std::vector<Record*>
|
std::vector<Record*>
|
||||||
RecordKeeper::getAllDerivedDefinitions(const std::string &ClassName) const {
|
RecordKeeper::getAllDerivedDefinitions(const std::string &ClassName) const {
|
||||||
Record *Class = Records.getClass(ClassName);
|
Record *Class = getClass(ClassName);
|
||||||
if (!Class)
|
if (!Class)
|
||||||
throw "ERROR: Couldn't find the `" + ClassName + "' class!\n";
|
throw "ERROR: Couldn't find the `" + ClassName + "' class!\n";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user