projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ac01d9
)
Further constify Record::isSubClassOf.
author
Ted Kremenek
<kremenek@apple.com>
Fri, 13 Mar 2009 22:20:10 +0000
(22:20 +0000)
committer
Ted Kremenek
<kremenek@apple.com>
Fri, 13 Mar 2009 22:20:10 +0000
(22:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66970
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/Record.h
patch
|
blob
|
history
diff --git
a/utils/TableGen/Record.h
b/utils/TableGen/Record.h
index 00b77305cdca2e4b5a948ba55d55a1287fbf47f2..3b2141c3ef19277ea2befbeaa3e20f976b5e7541 100644
(file)
--- 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;