Merge "soong: globally enable -Wunreachable-code-loop-increment"

This commit is contained in:
George Burgess IV 2020-07-07 19:49:53 +00:00 committed by Gerrit Code Review
commit c5f2aa4e73
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@ var (
"-Wno-unused",
"-Winit-self",
"-Wpointer-arith",
"-Wunreachable-code-loop-increment",
// Make paths in deps files relative
"-no-canonical-prefixes",
@ -51,6 +52,7 @@ var (
"-Werror=date-time",
"-Werror=pragma-pack",
"-Werror=pragma-pack-suspicious-include",
"-Werror=unreachable-code-loop-increment",
}
commonGlobalConlyflags = []string{}