We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 357c197 commit 005f815Copy full SHA for 005f815
libc/utils/LibcTableGenUtil/APIIndexer.cpp
@@ -25,8 +25,8 @@ static const char StandardSpecClassName[] = "StandardSpec";
25
static const char PublicAPIClassName[] = "PublicAPI";
26
27
static bool isa(const llvm::Record *Def, const llvm::Record *TypeClass) {
28
- llvm::RecordRecTy *RecordType = Def->getType();
29
- llvm::ArrayRef<llvm::Record *> Classes = RecordType->getClasses();
+ const llvm::RecordRecTy *RecordType = Def->getType();
+ llvm::ArrayRef<const llvm::Record *> Classes = RecordType->getClasses();
30
// We want exact types. That is, we don't want the classes listed in
31
// spec.td to be subclassed. Hence, we do not want the record |Def|
32
// to be of more than one class type..
0 commit comments