Index: tools/clang/plugins/FindBadConstructsAction.cpp |
diff --git a/tools/clang/plugins/FindBadConstructsAction.cpp b/tools/clang/plugins/FindBadConstructsAction.cpp |
index 443eecc6884a4ba9fb540ef9d585a93706bd6d55..0fb922ef2e3aead12578aa11b3ed2745550dfab3 100644 |
--- a/tools/clang/plugins/FindBadConstructsAction.cpp |
+++ b/tools/clang/plugins/FindBadConstructsAction.cpp |
@@ -49,6 +49,8 @@ bool FindBadConstructsAction::ParseArgs(const CompilerInstance& instance, |
if (args[i] == "check-base-classes") { |
// 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_thirdparty_pdf = true; |
Nico
2015/12/29 19:57:25
the flag is called enforce_in_pdf (no thirdparty_)
Lei Zhang
2015/12/29 20:00:17
copy + pasting is hard :(
Nico
2016/08/22 19:24:02
You never turned on this flag -- are you still pla
|
} else if (args[i] == "enforce-in-thirdparty-webkit") { |
options_.enforce_in_thirdparty_webkit = true; |
} else if (args[i] == "check-enum-last-value") { |