]> granicus.if.org Git - clang/commitdiff
Make helper function static. NFC.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 31 Oct 2017 23:23:36 +0000 (23:23 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 31 Oct 2017 23:23:36 +0000 (23:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317052 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/Type.cpp

index 5e7cf34704a5ff7ac192b799cafc74a96b8e9c04..d0707a4a73ae153aa25d57a71c9746d6cf07823b 100644 (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();