[PATCH] D112491: Add `LambdaCapture`-related matchers.

James King via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 4 16:42:34 PDT 2021


jcking1034 marked an inline comment as done.
jcking1034 added a comment.

@fowles @aaron.ballman I'll take a look at `forEachCapture` in the next patch. Also, I've discovered that the `VarDecl` node has a member function `isInitCapture` that seems like it could allow us to distinguish between captures with and without initializers (link <https://clang.llvm.org/doxygen/classclang_1_1VarDecl.html#a467213c46a275a47908744321d3d9f75>) - I want to play around with that, as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112491



More information about the cfe-commits mailing list