Merge "Clarify default tidy check lists." am: ce4c49c2f2
am: 94a2c5f6b7
Change-Id: I7b0bc11c284b07c1c9826a6cadcd098dcd5668e9
This commit is contained in:
commit
fba612f125
1 changed files with 12 additions and 5 deletions
|
@ -20,17 +20,24 @@
|
|||
# or google-runtime-references.
|
||||
DEFAULT_GLOBAL_TIDY_CHECKS := \
|
||||
$(subst $(space),, \
|
||||
-*,google*,performance*,misc-macro-parentheses \
|
||||
,-google-readability*,-google-runtime-references \
|
||||
-*,google* \
|
||||
,misc-macro-parentheses \
|
||||
,performance* \
|
||||
,-google-readability* \
|
||||
,-google-runtime-references \
|
||||
)
|
||||
|
||||
# There are too many clang-tidy warnings in external and vendor projects.
|
||||
# Enable only some google checks for these projects.
|
||||
DEFAULT_EXTERNAL_VENDOR_TIDY_CHECKS := \
|
||||
$(subst $(space),, \
|
||||
-*,google*,-google-build-using-namespace \
|
||||
,-google-readability*,-google-runtime-references \
|
||||
,-google-explicit-constructor,-google-runtime-int \
|
||||
-*,google* \
|
||||
,-google-build-using-namespace \
|
||||
,-google-default-arguments \
|
||||
,-google-explicit-constructor \
|
||||
,-google-readability* \
|
||||
,-google-runtime-int \
|
||||
,-google-runtime-references \
|
||||
)
|
||||
|
||||
# Every word in DEFAULT_LOCAL_TIDY_CHECKS list has the following format:
|
||||
|
|
Loading…
Reference in a new issue