forked from OSchip/llvm-project
parent
185616f293
commit
62b35d41cd
|
@ -105,6 +105,7 @@ const RecordType *Type::isRecordType() const {
|
|||
// losing all typedef information.
|
||||
if (isa<RecordType>(CanonicalType))
|
||||
return cast<RecordType>(cast<TypedefType>(this)->LookThroughTypedefs());
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool Type::isStructureType() const {
|
||||
|
|
Loading…
Reference in New Issue