vbvictor wrote:

> > I if we are speaking about passing lambda in-place, the easiest form would 
> > be lambdaExpr(IgnoreStdCalls ? unless(hasParent(callExpr(/_check function 
> > form std_/))) : anything()).bind("lambda"). https://godbolt.org/z/6dEeY1sjc
> 
> This is the first time I learned I could use godbolt to print the ast in that 
> form. That would've made it easier to write the AST matchers. Until this 
> point I've been making educated guesses. Let me take another stab at it.

You can also dump it via regular `clang` with `-ast-dump` 
https://clang.llvm.org/docs/IntroductionToTheClangAST.html.

https://github.com/llvm/llvm-project/pull/160150
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to