forked from OSchip/llvm-project
parent
f9ab3ddb8f
commit
0e71fd1957
|
@ -2182,7 +2182,7 @@ bool QualType::unionHasUniqueObjectRepresentations(
|
|||
return true;
|
||||
}
|
||||
|
||||
bool isStructEmpty(QualType Ty) {
|
||||
static bool isStructEmpty(QualType Ty) {
|
||||
assert(Ty.getTypePtr()->isStructureOrClassType() &&
|
||||
"Must be struct or class");
|
||||
const RecordDecl *RD = Ty.getTypePtr()->getAs<RecordType>()->getDecl();
|
||||
|
|
Loading…
Reference in New Issue