aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper/clang_tidy_flag.go
diff options
context:
space:
mode:
Diffstat (limited to 'compiler_wrapper/clang_tidy_flag.go')
-rw-r--r--compiler_wrapper/clang_tidy_flag.go14
1 files changed, 2 insertions, 12 deletions
diff --git a/compiler_wrapper/clang_tidy_flag.go b/compiler_wrapper/clang_tidy_flag.go
index 40a5bdbe..d8bf3cb2 100644
--- a/compiler_wrapper/clang_tidy_flag.go
+++ b/compiler_wrapper/clang_tidy_flag.go
@@ -38,23 +38,13 @@ func processClangTidyFlags(builder *commandBuilder) (cSrcFile string, useClangTi
func runClangTidy(env env, clangCmd *command, cSrcFile string) error {
defaultTidyChecks := strings.Join([]string{
"*",
- "google*",
"-bugprone-narrowing-conversions",
"-cppcoreguidelines-*",
"-fuchsia-*",
- "-google-build-using-namespace",
- "-google-default-arguments",
- "-google-explicit-constructor",
"-google-readability*",
- "-google-runtime-int",
"-google-runtime-references",
- "-hicpp-avoid-c-arrays",
- "-hicpp-braces-around-statements",
- "-hicpp-no-array-decay",
- "-hicpp-signed-bitwise",
- "-hicpp-uppercase-literal-suffix",
- "-hicpp-use-auto",
- "-llvm-namespace-comment",
+ "-hicpp-*",
+ "-llvm-*",
"-misc-non-private-member-variables-in-classes",
"-misc-unused-parameters",
"-modernize-*",