[PATCH] D122768: [Clang][C++20] Support capturing structured bindings in lambdas
Corentin Jabot via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 28 05:49:15 PDT 2022
cor3ntin added inline comments.
Herald added a subscriber: steakhal.
================
Comment at: clang/tools/libclang/CIndex.cpp:3452
continue;
-
- if (Visit(MakeCursorVariableRef(C->getCapturedVar(), C->getLocation(),
- TU)))
+ // TODO: hamdle structured bindings here ?
+ if (!isa<VarDecl>(C->getCapturedVar()))
----------------
Note to self: typo
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122768/new/
https://reviews.llvm.org/D122768
More information about the cfe-commits
mailing list