Add -Wduplicate-enum and -Wrange-for-analysis
These warnings are used in Skia. Bug: None Change-Id: I1948f448a89b0c213ce1aacd6bb8532f90d399be Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/28160 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
c01b26490a
commit
1da25e5103
|
@ -100,6 +100,7 @@ config("dawn_internal") {
|
|||
"-Wcstring-format-directive",
|
||||
"-Wc++11-narrowing",
|
||||
"-Wdeprecated-copy",
|
||||
"-Wduplicate-enum",
|
||||
"-Wextra-semi-stmt",
|
||||
"-Wimplicit-fallthrough",
|
||||
"-Winconsistent-missing-destructor-override",
|
||||
|
@ -107,6 +108,7 @@ config("dawn_internal") {
|
|||
"-Wmissing-field-initializers",
|
||||
"-Wnon-c-typedef-for-linkage",
|
||||
"-Wpessimizing-move",
|
||||
"-Wrange-loop-analysis",
|
||||
"-Wreturn-std-move-in-c++11",
|
||||
"-Wshadow-field",
|
||||
"-Wstrict-prototypes",
|
||||
|
|
Loading…
Reference in New Issue