diff options
Diffstat (limited to 'cc/tidy.go')
| -rw-r--r-- | cc/tidy.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/tidy.go b/cc/tidy.go index fefa7f0f1..53ff1564b 100644 --- a/cc/tidy.go +++ b/cc/tidy.go @@ -148,6 +148,9 @@ func (tidy *tidyFeature) flags(ctx ModuleContext, flags Flags) Flags { tidyChecks = tidyChecks + ",-bugprone-branch-clone" // http://b/193716442 tidyChecks = tidyChecks + ",-bugprone-implicit-widening-of-multiplication-result" + // Too many existing functions trigger this rule, and fixing it requires large code + // refactoring. The cost of maintaining this tidy rule outweighs the benefit it brings. + tidyChecks = tidyChecks + ",-bugprone-easily-swappable-parameters" flags.TidyFlags = append(flags.TidyFlags, tidyChecks) if ctx.Config().IsEnvTrue("WITH_TIDY") { |