summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-01-12 10:17:46 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-01-12 10:17:46 +0000
commit19acc3d351628017c4fcfb00112302d55115a11e (patch)
treedf7b634bf41eb0085da1f2582e02ea9637268350 /clang/lib/Sema/SemaDecl.cpp
parent2337f28063b0adf2309ebc07d3f72c5d459cf9bf (diff)
downloadbcm5719-llvm-19acc3d351628017c4fcfb00112302d55115a11e.tar.gz
bcm5719-llvm-19acc3d351628017c4fcfb00112302d55115a11e.zip
Rename RefersToCapturedVariable to RefersToEnclosingVariableOrCapture, NFC
llvm-svn: 225624
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r--clang/lib/Sema/SemaDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index 46cd285f5e8..99f878ff70b 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -10183,7 +10183,7 @@ static void RebuildLambdaScopeInfo(CXXMethodDecl *CallOperator,
QualType CaptureType = VD->getType();
const bool ByRef = C.getCaptureKind() == LCK_ByRef;
LSI->addCapture(VD, /*IsBlock*/false, ByRef,
- /*RefersToCapturedVariable*/true, C.getLocation(),
+ /*RefersToEnclosingVariableOrCapture*/true, C.getLocation(),
/*EllipsisLoc*/C.isPackExpansion()
? C.getEllipsisLoc() : SourceLocation(),
CaptureType, /*Expr*/ nullptr);
OpenPOWER on IntegriCloud