From eb8d04e589b187c7a66256417fac2e5b4c80ca7c Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Fri, 8 Jul 2022 13:47:09 +0800 Subject: [PATCH] Update clang version to clang-r458507 Test: presubmit Bug: 236798112 Change-Id: Iff8df2b5c7faf359d0554994586bbc984b7a1856 --- cc/config/global.go | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/cc/config/global.go b/cc/config/global.go index 9fab3a4fe..a40f5eadf 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -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{