Skip to content

Expose clang-apply-replacements filegroup in the distribution repo - #817

Open
jwendell wants to merge 2 commits into
bazel-contrib:masterfrom
jwendell:expose-clang-apply-replacements
Open

Expose clang-apply-replacements filegroup in the distribution repo#817
jwendell wants to merge 2 commits into
bazel-contrib:masterfrom
jwendell:expose-clang-apply-replacements

Conversation

@jwendell

Copy link
Copy Markdown

clang-apply-replacements shipped in the LLVM distribution and was already an aliased tool (@llvm_toolchain//:clang-apply-replacements), but unlike clang-tidy and clang-format it had no convenience filegroup in the distribution repo. Consumers wiring it up the way they wire clang-tidy -- via @llvm_toolchain_llvm//:clang-tidy -- hit a "no such target" error.

Add the matching filegroup and a build_test covering all three tools.

`clang-apply-replacements` shipped in the LLVM distribution and was already
an aliased tool (`@llvm_toolchain//:clang-apply-replacements`), but unlike
`clang-tidy` and `clang-format` it had no convenience filegroup in the
distribution repo. Consumers wiring it up the way they wire `clang-tidy` --
via `@llvm_toolchain_llvm//:clang-tidy` -- hit a "no such target" error.

Add the matching filegroup and a `build_test` covering all three tools.

Signed-off-by: Jonh Wendell <jwendell@redhat.com>
@jwendell

Copy link
Copy Markdown
Author

/retest

@helly25
helly25 enabled auto-merge (squash) August 12, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants