Revert^6 "Upgrade to clang-r522817"
This reverts commit 55d4abde48
.
Reland after fixes
Change-Id: Ic22c58cd4735c737849379de86097605fccc2036
This commit is contained in:
committed by
Gerrit Code Review
parent
55d4abde48
commit
36c6af6bd2
@@ -295,6 +295,9 @@ var (
|
|||||||
// New warnings to be fixed after clang-r475365
|
// New warnings to be fixed after clang-r475365
|
||||||
"-Wno-error=single-bit-bitfield-constant-conversion", // http://b/243965903
|
"-Wno-error=single-bit-bitfield-constant-conversion", // http://b/243965903
|
||||||
"-Wno-error=enum-constexpr-conversion", // http://b/243964282
|
"-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
|
// Irrelevant on Android because _we_ don't use exceptions, but causes
|
||||||
// lots of build noise because libcxx/libcxxabi do. This can probably
|
// lots of build noise because libcxx/libcxxabi do. This can probably
|
||||||
@@ -302,6 +305,9 @@ var (
|
|||||||
// until then because it causes warnings in the _callers_, not the
|
// until then because it causes warnings in the _callers_, not the
|
||||||
// project itself.
|
// project itself.
|
||||||
"-Wno-deprecated-dynamic-exception-spec",
|
"-Wno-deprecated-dynamic-exception-spec",
|
||||||
|
|
||||||
|
// Allow using VLA CXX extension.
|
||||||
|
"-Wno-vla-cxx-extension",
|
||||||
}
|
}
|
||||||
|
|
||||||
noOverride64GlobalCflags = []string{}
|
noOverride64GlobalCflags = []string{}
|
||||||
@@ -386,7 +392,7 @@ var (
|
|||||||
|
|
||||||
// prebuilts/clang default settings.
|
// prebuilts/clang default settings.
|
||||||
ClangDefaultBase = "prebuilts/clang/host"
|
ClangDefaultBase = "prebuilts/clang/host"
|
||||||
ClangDefaultVersion = "clang-r510928"
|
ClangDefaultVersion = "clang-r522817"
|
||||||
ClangDefaultShortVersion = "18"
|
ClangDefaultShortVersion = "18"
|
||||||
|
|
||||||
// Directories with warnings from Android.bp files.
|
// Directories with warnings from Android.bp files.
|
||||||
|
Reference in New Issue
Block a user