Update clang version to clang-r468909

* Allow/show clang deprecated* and array-parameter warnings.

Upstream commit date: 2022-07-25

Test: presubmit
Bug: 241941550
Bug: 241601211
Bug: 241011085
Change-Id: I5c152823500dde656e1306afcb6f45e824b50102
This commit is contained in:
Chih-Hung Hsieh
2022-08-02 12:03:50 -07:00
committed by Chih-hung Hsieh
parent bda5850a71
commit 395e50544f

View File

@@ -244,6 +244,10 @@ var (
"-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
// New warnings to be fixed after clang-r468909
"-Wno-error=array-parameter", // http://b/241941550
"-Wno-error=deprecated-builtins", // http://b/241601211
"-Wno-error=deprecated", // in external/googletest/googletest
}
noOverrideExternalGlobalCflags = []string{
@@ -308,8 +312,8 @@ var (
// prebuilts/clang default settings.
ClangDefaultBase = "prebuilts/clang/host"
ClangDefaultVersion = "clang-r458507"
ClangDefaultShortVersion = "15.0.1"
ClangDefaultVersion = "clang-r468909"
ClangDefaultShortVersion = "15.0.2"
// Directories with warnings from Android.bp files.
WarningAllowedProjects = []string{