Merge "soong: globally enable -Wunreachable-code-loop-increment"
This commit is contained in:
@@ -32,6 +32,7 @@ var (
|
|||||||
"-Wno-unused",
|
"-Wno-unused",
|
||||||
"-Winit-self",
|
"-Winit-self",
|
||||||
"-Wpointer-arith",
|
"-Wpointer-arith",
|
||||||
|
"-Wunreachable-code-loop-increment",
|
||||||
|
|
||||||
// Make paths in deps files relative
|
// Make paths in deps files relative
|
||||||
"-no-canonical-prefixes",
|
"-no-canonical-prefixes",
|
||||||
@@ -51,6 +52,7 @@ var (
|
|||||||
"-Werror=date-time",
|
"-Werror=date-time",
|
||||||
"-Werror=pragma-pack",
|
"-Werror=pragma-pack",
|
||||||
"-Werror=pragma-pack-suspicious-include",
|
"-Werror=pragma-pack-suspicious-include",
|
||||||
|
"-Werror=unreachable-code-loop-increment",
|
||||||
}
|
}
|
||||||
|
|
||||||
commonGlobalConlyflags = []string{}
|
commonGlobalConlyflags = []string{}
|
||||||
|
Reference in New Issue
Block a user