hokein wrote: > It seems to me that exposing these as children is the better option here, > right? That way it would better model a CallExpr or template type-trait, and > would work in our StmtProfiler et-al.
Agree that exposing them as children is better. However, we encounter an implementation limitation. For `Expr` subclasses, their children must be a `Stmt`. The `TypeTraitExpr` doesn't meet this requirement because its arguments are types `TypeSourceInfo`. https://github.com/llvm/llvm-project/pull/89370 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits