summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2015-01-25 01:00:21 +0000
committerNico Weber <nicolasweber@gmx.de>2015-01-25 01:00:21 +0000
commit562ff375074071556616d523376f83c75c097643 (patch)
tree862a5f343b5b3a8d153e02854e8cadaaddbc66a2 /clang/lib/Sema/SemaExpr.cpp
parentdb0809fff36945cec5703301803e41cb3ef99e56 (diff)
downloadbcm5719-llvm-562ff375074071556616d523376f83c75c097643.tar.gz
bcm5719-llvm-562ff375074071556616d523376f83c75c097643.zip
Name a bool parameter. No behavior change.
llvm-svn: 227026
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
-rw-r--r--clang/lib/Sema/SemaExpr.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index bf6c7806c16..4114b567136 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud