Merge "Use tidy_checks_as_errors list instead of -warnings-as-errors=*" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-06-13 22:38:57 +00:00
committed by Android (Google) Code Review

View File

@@ -15,7 +15,7 @@
cc_defaults {
name: "idmap2_defaults",
tidy: true,
tidy_checks: [
tidy_checks_as_errors: [
"modernize-*",
"-modernize-avoid-c-arrays",
"-modernize-use-trailing-return-type",
@@ -25,7 +25,6 @@ cc_defaults {
],
tidy_flags: [
"-system-headers",
"-warnings-as-errors=*",
],
}