Cleanup from yesterday...make isTentativeDefinition() a static helper function (no need for it to be part of the Sema API).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54613 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h
index 3254d23..99e4077 100644
--- a/lib/Sema/Sema.h
+++ b/lib/Sema/Sema.h
@@ -290,7 +290,6 @@
                                   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
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp
index df4add2..580c949 100644
--- a/lib/Sema/SemaDecl.cpp
+++ b/lib/Sema/SemaDecl.cpp
@@ -379,7 +379,7 @@
 }
 
 /// 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 ||