From fc8e666d67afef241ddb6491ddc13948c3b837c0 Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Sat, 27 Jul 2019 14:43:50 -0700 Subject: Disable modernize-use-trailing-return-type clang-tidy check Upcoming clang update introduced the new modernize-use-trailing-return-type check which is not useful. Disable this warning for now (even before the new clang update lands) since clang-tidy doesn't complain about flags it doesn't know. Test: build with new clang-tidy Bug: 131328001 Change-Id: I7fbc10fb9044904f85f9a1ec6cf712ce3cec0a79 Exempt-From-Owner-Approval: Trivial, no functionality change --- cmds/idmap2/Android.bp | 1 + 1 file changed, 1 insertion(+) (limited to 'cmds/idmap2') diff --git a/cmds/idmap2/Android.bp b/cmds/idmap2/Android.bp index 3bb99298debf..d4d587108a54 100644 --- a/cmds/idmap2/Android.bp +++ b/cmds/idmap2/Android.bp @@ -18,6 +18,7 @@ cc_defaults { tidy_checks: [ "modernize-*", "-modernize-avoid-c-arrays", + "-modernize-use-trailing-return-type", "android-*", "misc-*", "readability-*", -- cgit v1.2.3-59-g8ed1b