xazax.hun added a comment.

Is the problem `forEachDescendant` matching statements inside blocks and 
lambdas? I wonder if this behavior would surprise people, so I think it would 
be better to:

- Potentially add a template bool parameter to `forEachDescendant` controlling 
this behavior.
- Review existing uses because I am not entirely sure if the current behavior 
is the right default.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138329

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to