]> granicus.if.org Git - clang/commitdiff
Make helpers static. No functionality change.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 24 Dec 2017 12:46:22 +0000 (12:46 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 24 Dec 2017 12:46:22 +0000 (12:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@321425 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/ASTContext.cpp

index dd96148edb27277234489933413e889aa1498ca4..3dc961d4f12b189055b716021287dabb71fa35ec 100644 (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())