From 48a2e9c75e9bb1c2951b6d27460ef88af3fd873d Mon Sep 17 00:00:00 2001 From: George Burgess IV Date: Fri, 28 Oct 2016 21:42:06 +0000 Subject: [PATCH] Make a function static. NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285458 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaOverload.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp index 42bc14b399..70a4c333f3 100644 --- a/lib/Sema/SemaOverload.cpp +++ b/lib/Sema/SemaOverload.cpp @@ -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()) { -- 2.40.0