Revert^5 "Upgrade to clang-r522817"

This reverts commit 0135499554.

Reason for revert: Droidmonitor triggered revert due to b/341148479 and b/341138217. Will be verifying through ABTD before submission.

Change-Id: I22e069178dfda0b1791bd77c908afff8cb87bf26
This commit is contained in:
Priyanka Advani 2024-05-16 22:00:02 +00:00 committed by Gerrit Code Review
parent 0135499554
commit 55d4abde48

View file

@ -295,9 +295,6 @@ var (
// New warnings to be fixed after clang-r475365
"-Wno-error=single-bit-bitfield-constant-conversion", // http://b/243965903
"-Wno-error=enum-constexpr-conversion", // http://b/243964282
// New warnings to be fixed after clang-r522817
"-Wno-error=invalid-offsetof",
"-Wno-error=thread-safety-reference-return",
// Irrelevant on Android because _we_ don't use exceptions, but causes
// lots of build noise because libcxx/libcxxabi do. This can probably
@ -305,9 +302,6 @@ var (
// until then because it causes warnings in the _callers_, not the
// project itself.
"-Wno-deprecated-dynamic-exception-spec",
// Allow using VLA CXX extension.
"-Wno-vla-cxx-extension",
}
noOverride64GlobalCflags = []string{}
@ -392,7 +386,7 @@ var (
// prebuilts/clang default settings.
ClangDefaultBase = "prebuilts/clang/host"
ClangDefaultVersion = "clang-r522817"
ClangDefaultVersion = "clang-r510928"
ClangDefaultShortVersion = "18"
// Directories with warnings from Android.bp files.