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
This commit is contained in:
@@ -18,6 +18,7 @@ cc_defaults {
|
||||
tidy_checks: [
|
||||
"modernize-*",
|
||||
"-modernize-avoid-c-arrays",
|
||||
"-modernize-use-trailing-return-type",
|
||||
"android-*",
|
||||
"misc-*",
|
||||
"readability-*",
|
||||
|
||||
Reference in New Issue
Block a user