]> granicus.if.org Git - clang/commitdiff
Make a function static. NFC.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Fri, 28 Oct 2016 21:42:06 +0000 (21:42 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Fri, 28 Oct 2016 21:42:06 +0000 (21:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285458 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaOverload.cpp

index 42bc14b3996fd6c84668bb2509005891f59c3bab..70a4c333f34abb0540182d2cd98035944a808b80 100644 (file)
@@ -8982,10 +8982,9 @@ enum OverloadCandidateKind {
   oc_inherited_constructor_template
 };
 
-OverloadCandidateKind ClassifyOverloadCandidate(Sema &S,
-                                                NamedDecl *Found,
-                                                FunctionDecl *Fn,
-                                                std::string &Description) {
+static OverloadCandidateKind
+ClassifyOverloadCandidate(Sema &S, NamedDecl *Found, FunctionDecl *Fn,
+                          std::string &Description) {
   bool isTemplate = false;
 
   if (FunctionTemplateDecl *FunTmpl = Fn->getPrimaryTemplate()) {