[clang] [clang][NFC] Simplify implementation of `IgnoreExprNodes` (PR #164193)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 20 01:13:50 PDT 2025


cor3ntin wrote:

> We have this :D
> 
> https://github.com/llvm/llvm-project/blob/4d6f43d64f07f5adc9f37212756794e20b4ae8c5/clang/lib/AST/Expr.cpp#L3203-L3206

We could use an array of functions for that (and apply the array in reverse)

https://github.com/llvm/llvm-project/pull/164193


More information about the cfe-commits mailing list