I think the dependency on Tooling/Core is arguably the more interesting part. Nothing else in clang used to pull that in. (And it’s a dep of the formatting library iirc.)
The linked PR is for a static analyzer feature. Maybe it could make sense to only have this feature when using the static analyzer via clang-tidy? clang itself is primarily a compiler.