Ignore tidy checks which produce warnings
* A bug in tidy check header filter was fixed and revealed many tidy check warnings in .h files. Allow these warnings until they are all fixed in .h files. Test: mm with new header filter bug fixes Change-Id: I8982a8afd5827ed3bc7b24d5985002123739aeb2
This commit is contained in:
committed by
Chih-hung Hsieh
parent
fd1b9aa4cd
commit
14d955fa96
@@ -26,10 +26,24 @@ cc_defaults {
|
||||
tidy_checks_as_errors: [
|
||||
"modernize-*",
|
||||
"-modernize-avoid-c-arrays",
|
||||
"-modernize-pass-by-value",
|
||||
"-modernize-replace-disallow-copy-and-assign-macro",
|
||||
"-modernize-use-equals-default",
|
||||
"-modernize-use-nodiscard",
|
||||
"-modernize-use-override",
|
||||
"-modernize-use-trailing-return-type",
|
||||
"-modernize-use-using",
|
||||
"android-*",
|
||||
"misc-*",
|
||||
"-misc-non-private-member-variables-in-classes",
|
||||
"readability-*",
|
||||
"-readability-braces-around-statements",
|
||||
"-readability-const-return-type",
|
||||
"-readability-convert-member-functions-to-static",
|
||||
"-readability-else-after-return",
|
||||
"-readability-named-parameter",
|
||||
"-readability-redundant-access-specifiers",
|
||||
"-readability-uppercase-literal-suffix",
|
||||
],
|
||||
tidy_flags: [
|
||||
"-system-headers",
|
||||
|
||||
Reference in New Issue
Block a user