diff options
author | Nico Weber <nicolasweber@gmx.de> | 2015-01-25 01:00:21 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2015-01-25 01:00:21 +0000 |
commit | 562ff375074071556616d523376f83c75c097643 (patch) | |
tree | 862a5f343b5b3a8d153e02854e8cadaaddbc66a2 /clang/lib/Sema/SemaExpr.cpp | |
parent | db0809fff36945cec5703301803e41cb3ef99e56 (diff) | |
download | bcm5719-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.cpp | 3 |
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 |