diff options
author | 2019-07-27 14:43:50 -0700 | |
---|---|---|
committer | 2019-08-15 04:20:52 +0000 | |
commit | fc8e666d67afef241ddb6491ddc13948c3b837c0 (patch) | |
tree | 79f38cfcadfd12e2b12b32d2be82b1664c12cc76 /cmds/idmap2 | |
parent | 5ecc6722c989edebc93c190d53459e09eb2e4b7f (diff) |
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
Diffstat (limited to 'cmds/idmap2')
-rw-r--r-- | cmds/idmap2/Android.bp | 1 |
1 files changed, 1 insertions, 0 deletions
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-*", |