Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7328c252 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Enable clang-analyzer-optin.performance.* checks"

parents 8c3577e8 e9dca0aa
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -62,10 +62,8 @@ func init() {
		}, ",")
		// clang-analyzer-* checks are too slow to be in the default for WITH_TIDY=1.
		// nightly builds add CLANG_ANALYZER_CHECKS=1 to run those checks.
		// Some test code have clang-diagnostic-padded warnings that cannot be
		// suppressed, but only by disabling clang-analyzer-optin.performance.*.
		if ctx.Config().IsEnvTrue("CLANG_ANALYZER_CHECKS") {
			checks += ",clang-analyzer-*,-clang-analyzer-optin.performance.*"
			checks += ",clang-analyzer-*"
		}
		return checks
	})