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

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

Merge "Disable tidy default DeprecatedOrUnsafeBufferHandling check"

parents 472be14f 9bcce2ef
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -62,8 +62,9 @@ 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.
		// The insecureAPI.DeprecatedOrUnsafeBufferHandling warning does not apply to Android.
		if ctx.Config().IsEnvTrue("CLANG_ANALYZER_CHECKS") {
			checks += ",clang-analyzer-*"
			checks += ",clang-analyzer-*,-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling"
		}
		return checks
	})