Use tidy_checks_as_errors list instead of -warnings-as-errors=* am: ab17065423
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1326398 Change-Id: If3d3d58419bd07d9e6402954243a22676aff1cc2
This commit is contained in:
@@ -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=*,-bugprone*",
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user