diff options
author | 2019-07-27 14:43:50 -0700 | |
---|---|---|
committer | 2019-08-22 22:33:37 +0000 | |
commit | fbafa5162a9767f98fdf4558eab0635b2d318a66 (patch) | |
tree | 06cb377e114c262a7c1ce24ed6427a5ca32170b4 /cmds/idmap2 | |
parent | 90b0395647bce7fab82289b65ffdf9b251224c40 (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
Merged-In: I7fbc10fb9044904f85f9a1ec6cf712ce3cec0a79
Exempt-From-Owner-Approval: Trivial, no functionality change
(cherry picked from commit fc8e666d67afef241ddb6491ddc13948c3b837c0)
(cherry picked from commit a0914d81ef9f4d7258f1530dc3bfdd575f6e448d)
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-*", |