From: Nico Weber Date: Sun, 25 Jan 2015 01:00:21 +0000 (+0000) Subject: Name a bool parameter. No behavior change. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5d7b86ca03cca2ebd29694bbc27140930c21069;p=clang Name a bool parameter. No behavior change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@227026 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp index bf6c7806c1..4114b56713 100644 --- a/lib/Sema/SemaExpr.cpp +++ b/lib/Sema/SemaExpr.cpp @@ -11568,7 +11568,8 @@ void Sema::MarkFunctionReferenced(SourceLocation Loc, FunctionDecl *Func, // We (incorrectly) mark overload resolution as an unevaluated context, so we // can just check that here. Skip the rest of this function if we've already // marked the function as used. - if (Func->isUsed(false) || !IsPotentiallyEvaluatedContext(*this)) { + if (Func->isUsed(/*CheckUsedAttr=*/false) || + !IsPotentiallyEvaluatedContext(*this)) { // C++11 [temp.inst]p3: // Unless a function template specialization has been explicitly // instantiated or explicitly specialized, the function template