Fix LibC TableGen build failure caused by https://github.com/llvm/llvm-project/pull/110032
This commit is contained in:
parent
357c1970ca
commit
005f815313
@ -25,8 +25,8 @@ static const char StandardSpecClassName[] = "StandardSpec";
|
||||
static const char PublicAPIClassName[] = "PublicAPI";
|
||||
|
||||
static bool isa(const llvm::Record *Def, const llvm::Record *TypeClass) {
|
||||
llvm::RecordRecTy *RecordType = Def->getType();
|
||||
llvm::ArrayRef<llvm::Record *> Classes = RecordType->getClasses();
|
||||
const llvm::RecordRecTy *RecordType = Def->getType();
|
||||
llvm::ArrayRef<const llvm::Record *> Classes = RecordType->getClasses();
|
||||
// We want exact types. That is, we don't want the classes listed in
|
||||
// spec.td to be subclassed. Hence, we do not want the record |Def|
|
||||
// to be of more than one class type..
|
||||
|
Loading…
x
Reference in New Issue
Block a user