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

Commit e87329c4 authored by Yabin Cui's avatar Yabin Cui
Browse files

Switch to clang r428724 13.0.1.

Bug: http://b/190099451
Test: build and boot devices

Change-Id: I94ab1f2dc194ffcec5681708b558af26ced30aae
parent 393bffee
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -175,6 +175,8 @@ var (
		"-Wno-non-c-typedef-for-linkage", // http://b/161304145
		// New warnings to be fixed after clang-r407598
		"-Wno-string-concatenation", // http://b/175068488
		// New warnings to be fixed after clang-r428724
		"-Wno-align-mismatch", // http://b/193679946
	}

	// Extra cflags for external third-party projects to disable warnings that
@@ -213,8 +215,8 @@ var (

	// prebuilts/clang default settings.
	ClangDefaultBase         = "prebuilts/clang/host"
	ClangDefaultVersion      = "clang-r416183b1"
	ClangDefaultShortVersion = "12.0.7"
	ClangDefaultVersion      = "clang-r428724"
	ClangDefaultShortVersion = "13.0.1"

	// Directories with warnings from Android.bp files.
	WarningAllowedProjects = []string{
+2 −0
Original line number Diff line number Diff line
@@ -146,6 +146,8 @@ func (tidy *tidyFeature) flags(ctx ModuleContext, flags Flags) Flags {
	tidyChecks = tidyChecks + ",-bugprone-signed-char-misuse"
	// http://b/155034972
	tidyChecks = tidyChecks + ",-bugprone-branch-clone"
	// http://b/193716442
	tidyChecks = tidyChecks + ",-bugprone-implicit-widening-of-multiplication-result"
	flags.TidyFlags = append(flags.TidyFlags, tidyChecks)

	if ctx.Config().IsEnvTrue("WITH_TIDY") {