Merge "Revert "soong: upgrade Android platform to clang-r370808"" am: ed75f18e25
am: 26f8210a88
am: 7bc59d3d19
Change-Id: I9db811783b85f3bfc4747a1047d954d59b4ed060
This commit is contained in:
commit
4b8d14df54
|
@ -132,10 +132,6 @@ func init() {
|
|||
// Disable -Winconsistent-missing-override until we can clean up the existing
|
||||
// codebase for it.
|
||||
"-Wno-inconsistent-missing-override",
|
||||
|
||||
// Warnings from clang-10
|
||||
// Nested and array designated initialization is nice to have.
|
||||
"-Wno-c99-designator",
|
||||
}, " "))
|
||||
|
||||
pctx.StaticVariable("ClangExtraCppflags", strings.Join([]string{
|
||||
|
@ -165,10 +161,6 @@ func init() {
|
|||
// new warnings are fixed.
|
||||
"-Wno-tautological-constant-compare",
|
||||
"-Wno-tautological-type-limit-compare",
|
||||
// http://b/145210666
|
||||
"-Wno-reorder-init-list",
|
||||
// http://b/145211066
|
||||
"-Wno-implicit-int-float-conversion",
|
||||
}, " "))
|
||||
|
||||
// Extra cflags for external third-party projects to disable warnings that
|
||||
|
@ -184,13 +176,6 @@ func init() {
|
|||
// Bug: http://b/29823425 Disable -Wnull-dereference until the
|
||||
// new instances detected by this warning are fixed.
|
||||
"-Wno-null-dereference",
|
||||
|
||||
// http://b/145211477
|
||||
"-Wno-pointer-compare",
|
||||
// http://b/145211022
|
||||
"-Wno-xor-used-as-pow",
|
||||
// http://b/145211022
|
||||
"-Wno-final-dtor-non-final-class",
|
||||
}, " "))
|
||||
}
|
||||
|
||||
|
|
|
@ -126,8 +126,8 @@ var (
|
|||
|
||||
// prebuilts/clang default settings.
|
||||
ClangDefaultBase = "prebuilts/clang/host"
|
||||
ClangDefaultVersion = "clang-r370808"
|
||||
ClangDefaultShortVersion = "10.0.1"
|
||||
ClangDefaultVersion = "clang-r365631b"
|
||||
ClangDefaultShortVersion = "9.0.7"
|
||||
|
||||
// Directories with warnings from Android.bp files.
|
||||
WarningAllowedProjects = []string{
|
||||
|
|
|
@ -261,7 +261,6 @@ func addStubLibraryCompilerFlags(flags Flags) Flags {
|
|||
// We're knowingly doing some otherwise unsightly things with builtin
|
||||
// functions here. We're just generating stub libraries, so ignore it.
|
||||
"-Wno-incompatible-library-redeclaration",
|
||||
"-Wno-incomplete-setjmp-declaration",
|
||||
"-Wno-builtin-requires-header",
|
||||
"-Wno-invalid-noreturn",
|
||||
"-Wall",
|
||||
|
|
Loading…
Reference in New Issue