From 4b721450c87156dac9e27b98f75e5092b5843f20 Mon Sep 17 00:00:00 2001 From: Stephen Hines Date: Sat, 11 Sep 2021 01:14:36 -0700 Subject: [PATCH] Don't use bugprone-easily-swappable-parameters for global tidy builds either We turned this off in local tidy flags, but didn't disable it on global tidy builds. Let's remove this for now, since the upkeep cost is large on it, and it also is currently crashing in some cases. Bug: http://b/199534745 Bug: http://b/194865868 Test: WITH_TIDY=1 m Change-Id: Ife39ab4949c5baf825efff66326b276c6a2a59f4 --- cc/config/tidy.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cc/config/tidy.go b/cc/config/tidy.go index 86825029e..fdc246cdf 100644 --- a/cc/config/tidy.go +++ b/cc/config/tidy.go @@ -39,6 +39,7 @@ func init() { "misc-*", "performance-*", "portability-*", + "-bugprone-easily-swappable-parameters", "-bugprone-narrowing-conversions", "-google-readability*", "-google-runtime-references",