================
@@ -5125,6 +5125,20 @@ AST_MATCHER_P(LambdaCapture, capturesVar,
internal::Matcher<ValueDecl>,
/// matches `[this]() { return cc; }`.
AST_MATCHER(LambdaCapture, capturesThis) { return Node.capturesThis(); }
+/// Matches lambda expressions that have default capture modes.
----------------
vbvictor wrote:
Please run ‎clang/docs/tools/dump_ast_matchers.py to update docs
https://github.com/llvm/llvm-project/pull/160150
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits