aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/Record.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/Record.h b/utils/TableGen/Record.h
index 00b7730..3b2141c 100644
--- a/utils/TableGen/Record.h
+++ b/utils/TableGen/Record.h
@@ -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;