Skip to content

Commit

Permalink
Add more tools by default (#463)
Browse files Browse the repository at this point in the history
Add more tools by default:
* clang-format: Allows to format generated files, so the golden files
can be merged in a compliant format and compared against.
* clang-tidy: Allows to use the toolchain's tidy command out of the box
without needing to install a matching one.
* clangd: Alows to use the toolchain's indexer without needing to
install the matching one.

Interestingly these are available out of the box in WORKSPACE setups.
This change makes them available also for BAZELMOD setups.
  • Loading branch information
helly25 authored Feb 15, 2025
1 parent 0990c3b commit e831f94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions toolchain/internal/common.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ _toolchain_tools = {
name: name
for name in [
"clang-cpp",
"clang-format",
"clang-tidy",
"clangd",
"ld.lld",
"llvm-ar",
"llvm-dwp",
Expand Down

0 comments on commit e831f94

Please sign in to comment.