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

Emilia Dreamer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 9 08:33:43 PST 2023


rymiel added inline comments.


================
Comment at: clang/test/SemaCXX/cxx20-decomposition.cpp:160
+        return a;
+    }() ; }(0);
+    (void)[&](auto c) { return b + [&a](auto) {
----------------
aaron.ballman wrote:
> Same edit elsewhere. Did clang-format get confused?
It can't be clang-format because it would figuratively explode due to https://github.com/llvm/llvm-project/issues/40694! (but it did remind me to investigate that issue)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137244



More information about the cfe-commits mailing list