[clang] Reapply "[clang][analyzer] Format macro expansions" (PR #172479)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 11 05:27:51 PDT 2026


AaronBallman wrote:

> > Sorry for the late reply, but this makes `clang` (the compiler binary) depend on Tooling/Core and Format, both of which were explicit non-goals in the past.
> > Can we revert this, or make it so that this only happens when calling the analyzer through clang-tidy, or something?
> > @AaronBallman
> 
> I welcome you in the discussion https://discourse.llvm.org/t/can-we-link-clang-format-into-clanganalysis/89014 Probably that gets better visibility than continuing the discussion here.

Thank you for the link to that, I hadn't realized we discussed this in Discourse... despite me being the first comment on the thread. :-D

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


More information about the cfe-commits mailing list