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

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 11 05:23:30 PDT 2026


steakhal 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.

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


More information about the cfe-commits mailing list