diff options
| author | 2020-06-10 22:35:17 +0000 | |
|---|---|---|
| committer | 2020-06-10 22:35:17 +0000 | |
| commit | b3bd77fcbeb29d5fa56f071abe7cf4cb3b7b8662 (patch) | |
| tree | 6087472b71d37f0ee7fdf3de2f427bc0cc837efa | |
| parent | c98338dec08357c2300caa85567302ab4875cf92 (diff) | |
| parent | 328a29cc486fac849fa4dd01c9a35d4703f085ff (diff) | |
Merge changes If69f69bf,I941b3c89
* changes:
Add back missing `tidy_checks`, since `tidy_checks_as_errors` isn't enough
Use `tidy_checks_as_errors` list instead of `-warnings-as-errors=*`
| -rw-r--r-- | cmds/idmap2/Android.bp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cmds/idmap2/Android.bp b/cmds/idmap2/Android.bp index ce56baecab71..4e57e884ee3e 100644 --- a/cmds/idmap2/Android.bp +++ b/cmds/idmap2/Android.bp @@ -23,9 +23,16 @@ cc_defaults { "misc-*", "readability-*", ], + tidy_checks_as_errors: [ + "modernize-*", + "-modernize-avoid-c-arrays", + "-modernize-use-trailing-return-type", + "android-*", + "misc-*", + "readability-*", + ], tidy_flags: [ "-system-headers", - "-warnings-as-errors=*,-bugprone*", ], } |