[clang] [clang][NFC] Simplify implementation of `IgnoreExprNodes` (PR #164193)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 20 00:53:16 PDT 2025
https://github.com/cor3ntin approved this pull request.
Do we ever have more that 2 functions?
It might be simpler/faster to compile to just have
```
const Expr *IgnoreExprNodes(const Expr *E, const Expr*(*F)(const Expr*));
const Expr *IgnoreExprNodes(const Expr *E, const Expr*(*F1)(const Expr*),
const Expr*(*F2)(const Expr*));
```
https://github.com/llvm/llvm-project/pull/164193
More information about the cfe-commits
mailing list