diff options
author | Chih-Hung Hsieh <chh@google.com> | 2021-02-11 11:52:15 -0800 |
---|---|---|
committer | Chih-hung Hsieh <chh@google.com> | 2021-02-16 21:56:26 +0000 |
commit | 14d955fa9687d37eaa2fedeebcfb037ac42183f7 (patch) | |
tree | 96a454f355f15c38fd5430be2069febaf59550c8 /cmds | |
parent | fd1b9aa4cddd6a41878c9f5f020a29cf9db6d26e (diff) |
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
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/idmap2/Android.bp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cmds/idmap2/Android.bp b/cmds/idmap2/Android.bp index 50f400122fe1..1176a1ea84d5 100644 --- a/cmds/idmap2/Android.bp +++ b/cmds/idmap2/Android.bp @@ -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", |