Vendor import of clang trunk r321426:

https://llvm.org/svn/llvm-project/cfe/trunk@321426
This commit is contained in:
Dimitry Andric 2017-12-24 14:05:01 +00:00
parent 6252156da5
commit 1de93ee561

View File

@ -2148,7 +2148,7 @@ static bool unionHasUniqueObjectRepresentations(const ASTContext &Context,
return true;
}
bool isStructEmpty(QualType Ty) {
static bool isStructEmpty(QualType Ty) {
const RecordDecl *RD = Ty->castAs<RecordType>()->getDecl();
if (!RD->field_empty())