From db677011c7363509a288a9fb3bf0a50830bbf791 Mon Sep 17 00:00:00 2001 From: yuyawk Date: Fri, 29 Nov 2024 01:31:28 +0900 Subject: [PATCH] update readme --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 35eac87..a1afea0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # bazel_clang_tidy -Run clang-tidy on Bazel C++ targets directly, +Run clang-tidy on Bazel C/C++ targets directly, without generating a compile commands database, and take advantage of Bazels powerful cache mechanism. @@ -87,7 +87,8 @@ users may tag a target with `no-clang-tidy` or `noclangtidy`. ## Features -- Run clang-tidy on any C++ target +- Run clang-tidy on any C/C++ target + - 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++. - Run clang-tidy without also building the target - Use Bazel to cache clang-tidy reports: recompute stale reports only