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

Commit eb8d04e5 authored by Yi Kong's avatar Yi Kong
Browse files

Update clang version to clang-r458507

Test: presubmit
Bug: 236798112
Change-Id: Iff8df2b5c7faf359d0554994586bbc984b7a1856
parent 1b3d5f83
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -238,6 +238,8 @@ var (
		// New warnings to be fixed after clang-r433403
		"-Wno-error=unused-but-set-variable",  // http://b/197240255
		"-Wno-error=unused-but-set-parameter", // http://b/197240255
		// New warnings to be fixed after clang-r458507
		"-Wno-error=unqualified-std-cast-call", // http://b/239662094
	}

	noOverrideExternalGlobalCflags = []string{
@@ -279,11 +281,12 @@ var (

		// http://b/175068488
		"-Wno-string-concatenation",

		// http://b/239661264
		"-Wno-deprecated-non-prototype",
	}

	llvmNextExtraCommonGlobalCflags = []string{
		"-Wno-unqualified-std-cast-call",
		"-Wno-deprecated-non-prototype",
	}

	IllegalFlags = []string{
@@ -297,8 +300,8 @@ var (

	// prebuilts/clang default settings.
	ClangDefaultBase         = "prebuilts/clang/host"
	ClangDefaultVersion      = "clang-r450784e"
	ClangDefaultShortVersion = "14.0.7"
	ClangDefaultVersion      = "clang-r458507"
	ClangDefaultShortVersion = "15.0.1"

	// Directories with warnings from Android.bp files.
	WarningAllowedProjects = []string{