aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorCorentin Jabot <corentinjabot@gmail.com>2022-08-03 20:59:36 +0200
committerCorentin Jabot <corentinjabot@gmail.com>2022-08-03 21:00:29 +0200
commita274219600ea00c4406248acfbea113e29a8ead2 (patch)
treecbbffd3653ec77bae4ee8e2ee931a942d96a4fc3 /clang/lib/CodeGen/CodeGenFunction.h
parent1f64f8bcabb65c9622386d7458e42ee33b2eb7dc (diff)
downloadllvm-a274219600ea00c4406248acfbea113e29a8ead2.zip
llvm-a274219600ea00c4406248acfbea113e29a8ead2.tar.gz
llvm-a274219600ea00c4406248acfbea113e29a8ead2.tar.bz2
Revert "[Clang][C++20] Support capturing structured bindings in lambdas"
This reverts commit 44f2baa3804a62ca793f0ff3e43aa71cea91a795. Breaks self builds and seems to have conformance issues.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index b61a2a6..fe0890f 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -609,7 +609,7 @@ public:
const CodeGen::CGBlockInfo *BlockInfo = nullptr;
llvm::Value *BlockPointer = nullptr;
- llvm::DenseMap<const ValueDecl *, FieldDecl *> LambdaCaptureFields;
+ llvm::DenseMap<const VarDecl *, FieldDecl *> LambdaCaptureFields;
FieldDecl *LambdaThisCaptureField = nullptr;
/// A mapping from NRVO variables to the flags used to indicate