Make helper function static. NFC.

llvm-svn: 317052
This commit is contained in:
Benjamin Kramer 2017-10-31 23:23:36 +00:00
parent f9ab3ddb8f
commit 0e71fd1957
1 changed files with 1 additions and 1 deletions

View File

@ -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();