Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: build/common.gypi

Issue 1499003003: Enable the clang-plugin treat-virtuals-as-complexity flag. Base URL: https://chromium.googlesource.com/chromium/src.git@allow-inline-virtuals
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/config/clang/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 0974b49752e64eb3aaa4cd9c89bc79f6fbaeb110..efc1419d58c47baebebaf1a671bdc030e34f273d 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -2224,7 +2224,7 @@
'clang_dynlib_flags%': '',
}],
],
- 'clang_plugin_args%': '-Xclang -plugin-arg-find-bad-constructs -Xclang check-templates ',
+ 'clang_plugin_args%': '-Xclang -plugin-arg-find-bad-constructs -Xclang check-templates -Xclang -plugin-arg-find-bad-constructs -Xclang treat-virtuals-as-complexity ',
},
# If you change these, also change build/config/clang/BUILD.gn.
'clang_chrome_plugins_flags%':
« no previous file with comments | « no previous file | build/config/clang/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698