Index: build/config/win/BUILD.gn |
diff --git a/build/config/win/BUILD.gn b/build/config/win/BUILD.gn |
index 5e1f7fcc4d83dc25ef571b9490445f8c59c54db8..3161b3e7c2e493fcc3e1d9e3588d31a3a0b767fc 100644 |
--- a/build/config/win/BUILD.gn |
+++ b/build/config/win/BUILD.gn |
@@ -123,7 +123,7 @@ config("compiler") { |
} |
config("vs_code_analysis") { |
- if (use_vs_code_analysis) { |
+ if (use_vs_code_analysis && !is_clang) { |
# When use_vs_code_analysis is specified add the /analyze switch to enable |
# static analysis. Specifying /analyze:WX- says that /analyze warnings |
# should not be treated as errors. |