From 14d955fa9687d37eaa2fedeebcfb037ac42183f7 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Thu, 11 Feb 2021 11:52:15 -0800 Subject: 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 --- cmds/idmap2/Android.bp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'cmds') 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", -- cgit v1.2.3