mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Further constify Record::isSubClassOf.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66970 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7ac01d954f
commit
02475f1fd5
@ -1017,7 +1017,7 @@ public:
|
||||
assert(0 && "Name does not exist in record!");
|
||||
}
|
||||
|
||||
bool isSubClassOf(Record *R) const {
|
||||
bool isSubClassOf(const Record *R) const {
|
||||
for (unsigned i = 0, e = SuperClasses.size(); i != e; ++i)
|
||||
if (SuperClasses[i] == R)
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user