From: Benjamin Kramer Date: Sun, 24 Dec 2017 12:46:22 +0000 (+0000) Subject: Make helpers static. No functionality change. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d1e88b09501f6c0f5e368a253a99387702e1eb5;p=clang Make helpers static. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@321425 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index dd96148edb..3dc961d4f1 100644 --- a/lib/AST/ASTContext.cpp +++ b/lib/AST/ASTContext.cpp @@ -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()->getDecl(); if (!RD->field_empty())