[clang] [clang-tools-extra] [clang] Avoid repeated traversal of shared C initializer subtrees (PR #235717)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 26 05:52:03 PDT 2026


https://github.com/steakhal commented:

Thank you for proposing a patch!
Looks convincing but I think the specifics miss the point.

I rarely touch C initializer ASTs, so I wouldn't mind a quick refresher of how they look and why they cause a problem.
That said, I'm not convinced that only C initializers are a problem - my impression is that you just stepped on that and your fix just zeroes on that - without looking at the broader scope. Shouldn't this be something more generic?

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


More information about the cfe-commits mailing list