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
Thanks for the ping! Yeah, in the past the community's stance on formatting of this nature is that the user runs the formatting tool themself rather than clang running it automatically for them. That's particularly important because clang-format can change the meaning of code with some of its formatting decisions, depending on the options the user has set. I think linking in these libraries requires broader community agreement. But at the same time, Clang 22 is out with these changes. :-( https://github.com/llvm/llvm-project/pull/172479 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
