summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chih-Hung Hsieh <chh@google.com> 2022-08-02 12:03:50 -0700
committer Chih-hung Hsieh <chh@google.com> 2022-09-19 19:26:18 +0000
commit395e50544ffe4dd528c0289030881e6eafb17d54 (patch)
treecceac61ce6f6dab99f6667eaf7e508affcf9e76c
parentbda5850a7133b17105e314486b4a1b85f232b18a (diff)
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
-rw-r--r--cc/config/global.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/cc/config/global.go b/cc/config/global.go
index a7701b950..bf8090792 100644
--- a/cc/config/global.go
+++ b/cc/config/global.go
@@ -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{