[PATCH] D137244: [Clang] Correctly capture bindings in dependent lambdas.

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 3 06:34:58 PDT 2022


cor3ntin updated this revision to Diff 472920.
cor3ntin added a comment.

Use the `getPotentiallyDecomposedVarDecl` everywhere it makes sense.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137244/new/

https://reviews.llvm.org/D137244

Files:
  clang/include/clang/AST/Decl.h
  clang/include/clang/Sema/ScopeInfo.h
  clang/include/clang/Sema/Sema.h
  clang/include/clang/Sema/SemaLambda.h
  clang/lib/AST/DeclCXX.cpp
  clang/lib/Sema/ScopeInfo.cpp
  clang/lib/Sema/SemaDeclCXX.cpp
  clang/lib/Sema/SemaExpr.cpp
  clang/lib/Sema/SemaExprCXX.cpp
  clang/lib/Sema/SemaLambda.cpp
  clang/lib/Sema/TreeTransform.h
  clang/test/SemaCXX/cxx20-decomposition.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137244.472920.patch
Type: text/x-patch
Size: 20471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221103/80057240/attachment-0001.bin>


More information about the cfe-commits mailing list