r321425 - Make helpers static. No functionality change.

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 24 04:46:22 PST 2017


Author: d0k
Date: Sun Dec 24 04:46:22 2017
New Revision: 321425

URL: http://llvm.org/viewvc/llvm-project?rev=321425&view=rev
Log:
Make helpers static. No functionality change.

Modified:
    cfe/trunk/lib/AST/ASTContext.cpp

Modified: cfe/trunk/lib/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTContext.cpp?rev=321425&r1=321424&r2=321425&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTContext.cpp (original)
+++ cfe/trunk/lib/AST/ASTContext.cpp Sun Dec 24 04:46:22 2017
@@ -2148,7 +2148,7 @@ static bool unionHasUniqueObjectRepresen
   return true;
 }
 
-bool isStructEmpty(QualType Ty) {
+static bool isStructEmpty(QualType Ty) {
   const RecordDecl *RD = Ty->castAs<RecordType>()->getDecl();
 
   if (!RD->field_empty())




More information about the cfe-commits mailing list