Reduce default global google-* clang-tidy checks am: 8212621410
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2099984 Change-Id: Ic91834f4805e0b102fea08c9e414198577aae94c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
60351d1944
1 changed files with 15 additions and 10 deletions
|
@ -35,14 +35,22 @@ func init() {
|
|||
"bugprone-*",
|
||||
"cert-*",
|
||||
"clang-diagnostic-unused-command-line-argument",
|
||||
"google-*",
|
||||
// Select only google-* checks that do not have thousands of warnings.
|
||||
// Add more such checks when we clean up source code.
|
||||
// "google-build-using-namespace",
|
||||
// "google-default-arguments",
|
||||
// "google-explicit-constructor",
|
||||
// "google-global-names-in-headers",
|
||||
// "google-runtime-int",
|
||||
"google-build-explicit-make-pair",
|
||||
"google-build-namespaces",
|
||||
"google-runtime-operator",
|
||||
"google-upgrade-*",
|
||||
"misc-*",
|
||||
"performance-*",
|
||||
"portability-*",
|
||||
"-bugprone-easily-swappable-parameters",
|
||||
"-bugprone-narrowing-conversions",
|
||||
"-google-readability*",
|
||||
"-google-runtime-references",
|
||||
"-misc-no-recursion",
|
||||
"-misc-non-private-member-variables-in-classes",
|
||||
"-misc-unused-parameters",
|
||||
|
@ -79,13 +87,10 @@ func init() {
|
|||
return strings.Join([]string{
|
||||
"-*",
|
||||
"clang-diagnostic-unused-command-line-argument",
|
||||
"google*",
|
||||
"-google-build-using-namespace",
|
||||
"-google-default-arguments",
|
||||
"-google-explicit-constructor",
|
||||
"-google-readability*",
|
||||
"-google-runtime-int",
|
||||
"-google-runtime-references",
|
||||
"google-build-explicit-make-pair",
|
||||
"google-build-namespaces",
|
||||
"google-runtime-operator",
|
||||
"google-upgrade-*",
|
||||
}, ",")
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue