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: tools/clang/plugins/FindBadConstructsAction.cpp

Issue 2749043004: Clang plugin: Support for Blink in web/. (Closed)
Patch Set: plugin argument approach Created 3 years, 8 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
Index: tools/clang/plugins/FindBadConstructsAction.cpp
diff --git a/tools/clang/plugins/FindBadConstructsAction.cpp b/tools/clang/plugins/FindBadConstructsAction.cpp
index 56050b479e8f1d9c0b4c51d584e60351dd39cc97..66ddfb17c8b774bd5f8ca63d355608eb0a4904d9 100644
--- a/tools/clang/plugins/FindBadConstructsAction.cpp
+++ b/tools/clang/plugins/FindBadConstructsAction.cpp
@@ -49,6 +49,8 @@ bool FindBadConstructsAction::ParseArgs(const CompilerInstance& instance,
options_.check_base_classes = true;
} else if (args[i] == "enforce-in-thirdparty-webkit") {
options_.enforce_in_thirdparty_webkit = true;
+ } else if (args[i] == "check-for-blink") {
+ options_.check_for_blink = true;
} else if (args[i] == "check-enum-last-value") {
// TODO(tsepez): Enable this by default once http://crbug.com/356815
// and http://crbug.com/356816 are fixed.

Powered by Google App Engine
This is Rietveld 408576698