Merge "[cc/tidy] Disable cert-err33-c" am: 2d305010af am: e66acc24ed am: 2d19e0908d am: 66c73ffe6d

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1960241

Change-Id: I4a2ab2411134f8e17663b255ced58afd238a552f
This commit is contained in:
Treehugger Robot
2022-01-26 12:06:13 +00:00
committed by Automerger Merge Worker

View File

@@ -156,6 +156,9 @@ func (tidy *tidyFeature) flags(ctx ModuleContext, flags Flags) Flags {
// 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"
// http://b/216364337 - TODO: Follow-up after compiler update to
// disable or fix individual instances.
tidyChecks = tidyChecks + ",-cert-err33-c"
flags.TidyFlags = append(flags.TidyFlags, tidyChecks)
if ctx.Config().IsEnvTrue("WITH_TIDY") {