bazel_clang_tidy
bazel_clang_tidy copied to clipboard
Run clang-tidy on Bazel C++ targets directly, efficiently, with caching enabled
We use a clang-tidy from the llvm releases binaries, previously we used clang-tidy built from LLVM itself with bazel. In both of these cases I've had to manually specify `-resource-dir`...
Has anyone run clang-tidy on Cuda code before? Naively patching the `permitted_file_types` to include `, ".cu", ".cuh"` kinda works in the sense that the aspect will find issues like ```...
I would like to add an option so that if `bazel build` is run with option `--features=external_include_paths` this line: ``` args.add_all(compilation_context.external_includes.to_list(), before_each = "-isystem") ``` becomes: ``` args.add_all(compilation_context.external_includes.to_list(), before_each =...
I'm finding that repeated runs using `clang-tidy` is not caching the report. This means that even with unchanged source files, clang-tidy is running on everything for several minutes. I'm trying...