summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-05-10 16:31:55 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-05-10 16:31:55 +0000
commitf3ca2698393c564450b749a9fc9152a0e70d0c08 (patch)
tree4fd6e5cd83937148285873a5af052c957b3c939b /clang/lib/CodeGen/CGDebugInfo.cpp
parent55b3e22927a7e3e811b3c7f0304146f598f72987 (diff)
downloadbcm5719-llvm-f3ca2698393c564450b749a9fc9152a0e70d0c08.tar.gz
bcm5719-llvm-f3ca2698393c564450b749a9fc9152a0e70d0c08.zip
Decouple ExprCXX.h and DeclCXX.h and clean up includes a bit.
Required pulling LambdaExpr::Capture into its own header. No functionality change. llvm-svn: 208470
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index c4c2644386e..4279e4985e8 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -830,7 +830,7 @@ CollectRecordLambdaFields(const CXXRecordDecl *CXXDecl,
unsigned fieldno = 0;
for (CXXRecordDecl::capture_const_iterator I = CXXDecl->captures_begin(),
E = CXXDecl->captures_end(); I != E; ++I, ++Field, ++fieldno) {
- const LambdaExpr::Capture C = *I;
+ const LambdaCapture &C = *I;
if (C.capturesVariable()) {
VarDecl *V = C.getCapturedVar();
llvm::DIFile VUnit = getOrCreateFile(C.getLocation());
OpenPOWER on IntegriCloud