Revert^7 "Upgrade to clang-r522817"

36c6af6bd2

Change-Id: Id3320a7862f1ebbfe49bfa4caa36e7ccfd515524
This commit is contained in:
Dmitrii Ishcheikin 2024-06-07 13:06:19 +00:00
parent 86cbd9e46d
commit 8c27af2136

View file

@ -300,9 +300,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
@ -310,9 +307,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{}
@ -397,7 +391,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.