Enable array-parameter warning
Except third-party external/vendor projects. Bug: 241941550 Test: presubmit; make tidy-soong_subset Change-Id: Ia74af9155d7d1aca0e6cecf1103f4d0de4345291
This commit is contained in:
committed by
Chih-hung Hsieh
parent
efc1bc7f2f
commit
823e0b7e12
@@ -240,7 +240,6 @@ var (
|
||||
// New warnings to be fixed after clang-r458507
|
||||
"-Wno-error=unqualified-std-cast-call", // http://b/239662094
|
||||
// New warnings to be fixed after clang-r468909
|
||||
"-Wno-error=array-parameter", // http://b/241941550
|
||||
"-Wno-error=deprecated-builtins", // http://b/241601211
|
||||
"-Wno-error=deprecated", // in external/googletest/googletest
|
||||
}
|
||||
@@ -253,6 +252,8 @@ var (
|
||||
"-Wno-bitwise-instead-of-logical",
|
||||
// http://b/232926688
|
||||
"-Wno-misleading-indentation",
|
||||
// http://b/241941550
|
||||
"-Wno-array-parameter",
|
||||
}
|
||||
|
||||
// Extra cflags for external third-party projects to disable warnings that
|
||||
|
Reference in New Issue
Block a user