Remove -Wsign-promo.
This flag has no effect in Clang: https://clang.llvm.org/docs/DiagnosticsReference.html#wsign-promo Bug: 296606895 Test: presubmit Change-Id: I59c1e6b6cf541529b9f4741accdf26822572426f
This commit is contained in:
@@ -180,8 +180,6 @@ var (
|
|||||||
hostGlobalLldflags = commonGlobalLldflags
|
hostGlobalLldflags = commonGlobalLldflags
|
||||||
|
|
||||||
commonGlobalCppflags = []string{
|
commonGlobalCppflags = []string{
|
||||||
"-Wsign-promo",
|
|
||||||
|
|
||||||
// -Wimplicit-fallthrough is not enabled by -Wall.
|
// -Wimplicit-fallthrough is not enabled by -Wall.
|
||||||
"-Wimplicit-fallthrough",
|
"-Wimplicit-fallthrough",
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user