Merge "Accept environment variables DEFAULT_*_TIDY_CHECKS" am: 4b4b2da13d
am: 8d4da5f521
am: 8a81b9c5a0
Change-Id: I04d9acb6b623c7e54a0f8d2bcd2cb8c3d3897cdd
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
# Global tidy checks include only google*, performance*,
|
# Global tidy checks include only google*, performance*,
|
||||||
# and misc-macro-parentheses, but not google-readability*
|
# and misc-macro-parentheses, but not google-readability*
|
||||||
# or google-runtime-references.
|
# or google-runtime-references.
|
||||||
DEFAULT_GLOBAL_TIDY_CHECKS := \
|
DEFAULT_GLOBAL_TIDY_CHECKS ?= \
|
||||||
$(subst $(space),, \
|
$(subst $(space),, \
|
||||||
-*,google* \
|
-*,google* \
|
||||||
,misc-macro-parentheses \
|
,misc-macro-parentheses \
|
||||||
@@ -29,7 +29,7 @@ DEFAULT_GLOBAL_TIDY_CHECKS := \
|
|||||||
|
|
||||||
# There are too many clang-tidy warnings in external and vendor projects.
|
# There are too many clang-tidy warnings in external and vendor projects.
|
||||||
# Enable only some google checks for these projects.
|
# Enable only some google checks for these projects.
|
||||||
DEFAULT_EXTERNAL_VENDOR_TIDY_CHECKS := \
|
DEFAULT_EXTERNAL_VENDOR_TIDY_CHECKS ?= \
|
||||||
$(subst $(space),, \
|
$(subst $(space),, \
|
||||||
-*,google* \
|
-*,google* \
|
||||||
,-google-build-using-namespace \
|
,-google-build-using-namespace \
|
||||||
|
Reference in New Issue
Block a user