Skip to content

Commit 005f815

Browse files
authored
[LIBC] Fix build failure caused by #110032 (#110539)
Fix LibC TableGen build failure caused by #110032
1 parent 357c197 commit 005f815

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libc/utils/LibcTableGenUtil/APIIndexer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ static const char StandardSpecClassName[] = "StandardSpec";
2525
static const char PublicAPIClassName[] = "PublicAPI";
2626

2727
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();
28+
const llvm::RecordRecTy *RecordType = Def->getType();
29+
llvm::ArrayRef<const llvm::Record *> Classes = RecordType->getClasses();
3030
// We want exact types. That is, we don't want the classes listed in
3131
// spec.td to be subclassed. Hence, we do not want the record |Def|
3232
// to be of more than one class type..

0 commit comments

Comments
 (0)