diff options
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index df4add2ea3..580c949ddd 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -379,7 +379,7 @@ Sema::MergeFunctionDecl(FunctionDecl *New, Decl *OldD, bool &Redeclaration) { } /// Predicate for C "tentative" external object definitions (C99 6.9.2). -bool Sema::isTentativeDefinition(VarDecl *VD) { +static bool isTentativeDefinition(VarDecl *VD) { if (VD->isFileVarDecl()) return (!VD->getInit() && (VD->getStorageClass() == VarDecl::None || |