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

Unified Diff: tools/clang/plugins/Options.h

Issue 1372833002: Update the clang plugin to optionally enforce rules for Blink code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ooookay, emplace it is Created 5 years, 3 months 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 | « tools/clang/plugins/FindBadConstructsAction.cpp ('k') | tools/clang/plugins/tests/overridden_methods.flags » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/plugins/Options.h
diff --git a/tools/clang/plugins/Options.h b/tools/clang/plugins/Options.h
index a79bb1e2489b70ec8c84c13753a0d879b1b0dd77..a94c95e85531f94668d87b908497ad95355c914c 100644
--- a/tools/clang/plugins/Options.h
+++ b/tools/clang/plugins/Options.h
@@ -10,14 +10,16 @@ namespace chrome_checker {
struct Options {
Options()
: check_base_classes(false),
- enforce_blink(false),
+ enforce_overriding_blink(false),
+ enforce_in_thirdparty_webkit(false),
check_enum_last_value(false),
with_ast_visitor(false),
check_templates(false),
warn_only(false) {}
bool check_base_classes;
- bool enforce_blink;
+ bool enforce_overriding_blink; // Blink base-class use
+ bool enforce_in_thirdparty_webkit; // Use in Blink code itself
bool check_enum_last_value;
bool with_ast_visitor;
bool check_templates;
« no previous file with comments | « tools/clang/plugins/FindBadConstructsAction.cpp ('k') | tools/clang/plugins/tests/overridden_methods.flags » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698