We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c02a862 commit db67701Copy full SHA for db67701
README.md
@@ -1,6 +1,6 @@
1
# bazel_clang_tidy
2
3
-Run clang-tidy on Bazel C++ targets directly,
+Run clang-tidy on Bazel C/C++ targets directly,
4
without generating a compile commands database,
5
and take advantage of Bazels powerful cache mechanism.
6
@@ -87,7 +87,8 @@ users may tag a target with `no-clang-tidy` or `noclangtidy`.
87
88
## Features
89
90
-- Run clang-tidy on any C++ target
+- Run clang-tidy on any C/C++ target
91
+ - A file is treated as C if it has the `.c` extension or its target includes the `clang-tidy-is-c-tu` tag; otherwise, it is treated as C++.
92
- Run clang-tidy without also building the target
93
- Use Bazel to cache clang-tidy reports: recompute stale reports only
94
0 commit comments