diff --git a/common.gypi b/common.gypi index 36fff0ddb..ab1be55fc 100644 --- a/common.gypi +++ b/common.gypi @@ -2225,8 +2225,7 @@ }], ], 'clang_plugin_args%': '-Xclang -plugin-arg-find-bad-constructs -Xclang check-templates ' - '-Xclang -plugin-arg-find-bad-constructs -Xclang follow-macro-expansion ' - '-Xclang -plugin-arg-find-bad-constructs -Xclang check-implicit-copy-ctors ', + '-Xclang -plugin-arg-find-bad-constructs -Xclang follow-macro-expansion ', }, # If you change these, also change build/config/clang/BUILD.gn. 'clang_chrome_plugins_flags%': diff --git a/config/clang/BUILD.gn b/config/clang/BUILD.gn index 64e467aca..f2c8c1660 100644 --- a/config/clang/BUILD.gn +++ b/config/clang/BUILD.gn @@ -43,10 +43,6 @@ config("find_bad_constructs") { "-plugin-arg-find-bad-constructs", "-Xclang", "follow-macro-expansion", - "-Xclang", - "-plugin-arg-find-bad-constructs", - "-Xclang", - "check-implicit-copy-ctors", ] if ((is_linux || is_android) && !is_chromecast) {