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:
Ted Kremenek 2009-03-13 22:20:10 +00:00
parent 7ac01d954f
commit 02475f1fd5

View File

@ -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;