Index: tools/clang/plugins/FindBadConstructsAction.cpp |
diff --git a/tools/clang/plugins/FindBadConstructsAction.cpp b/tools/clang/plugins/FindBadConstructsAction.cpp |
index ccf7f6397f256d0c5dab4199213b12e79f4c4b77..027c0d42a74f42d4a9ab978b1aee09f0d5cc2ef1 100644 |
--- a/tools/clang/plugins/FindBadConstructsAction.cpp |
+++ b/tools/clang/plugins/FindBadConstructsAction.cpp |
@@ -36,6 +36,8 @@ bool FindBadConstructsAction::ParseArgs(const CompilerInstance& instance, |
// TODO(tsepez): Enable this by default once http://crbug.com/356815 |
// and http://crbug.com/356816 are fixed. |
options_.check_enum_last_value = true; |
+ } else if (args[0] == "strict-virtual-specifiers") { |
hans
2014/09/26 01:29:29
args[i]?
dcheng
2014/09/26 07:07:13
Done.
|
+ options_.strict_virtual_specifiers = true; |
} else { |
parsed = false; |
llvm::errs() << "Unknown clang plugin argument: " << args[i] << "\n"; |