bool &Redeclaration);
VarDecl *MergeVarDecl(VarDecl *New, Decl *Old);
FunctionDecl *MergeCXXFunctionDecl(FunctionDecl *New, FunctionDecl *Old);
- bool isTentativeDefinition(VarDecl *VD);
void CheckForFileScopedRedefinitions(Scope *S, VarDecl *VD);
/// Helpers for dealing with function parameters
}
/// 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 ||