In the Clang Static Analyzer, we would have a use case for using the clang format library for prettifying macro expansions.
In general, the Static Analyzer community was waiting for this feature and are unanimously supportive.
See the PR156046.
However, we wanted to reach out to the broader Clang frontend area team members to learn their opinion. @clang-area-team
We don’t plan to provide an escape hatch to avoid this link dependency, so everybody building the Clang would be affected. We plan to have a runtime flag to disable invoking the clang format parts (but this code path is anyways only reachable when the Static Analyzer is running, which is a tiny subset of the clang users).
Can we link against clangFormat?