diff --git a/src/common/BUILD.gn b/src/common/BUILD.gn index 525147b1e2..c5158902e5 100644 --- a/src/common/BUILD.gn +++ b/src/common/BUILD.gn @@ -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",