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

Unified Diff: tools/clang/plugins/FindBadConstructsAction.cpp

Issue 2268203002: clang plugin: Remove enforce-in-pdf toggle. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/ChromeClassTester.cpp ('k') | tools/clang/plugins/Options.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/plugins/FindBadConstructsAction.cpp
diff --git a/tools/clang/plugins/FindBadConstructsAction.cpp b/tools/clang/plugins/FindBadConstructsAction.cpp
index 7458c543c7dccfee867a87d6bbb28337cd6f7e5e..3fedd8feb088df2a5eb4f972c175e36e7c37a384 100644
--- a/tools/clang/plugins/FindBadConstructsAction.cpp
+++ b/tools/clang/plugins/FindBadConstructsAction.cpp
@@ -48,7 +48,8 @@ bool FindBadConstructsAction::ParseArgs(const CompilerInstance& instance,
// TODO(rsleevi): Remove this once http://crbug.com/123295 is fixed.
options_.check_base_classes = true;
} else if (args[i] == "enforce-in-pdf") {
- options_.enforce_in_pdf = true;
+ // TODO(thestig): This is now always on. Remove support for this flag once
+ // the build no longer passes it in.
} else if (args[i] == "enforce-in-thirdparty-webkit") {
options_.enforce_in_thirdparty_webkit = true;
} else if (args[i] == "check-enum-last-value") {
« no previous file with comments | « tools/clang/plugins/ChromeClassTester.cpp ('k') | tools/clang/plugins/Options.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698