Index: tools/clang/plugins/Options.h |
diff --git a/tools/clang/plugins/Options.h b/tools/clang/plugins/Options.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a79bb1e2489b70ec8c84c13753a0d879b1b0dd77 |
--- /dev/null |
+++ b/tools/clang/plugins/Options.h |
@@ -0,0 +1,29 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef TOOLS_CLANG_PLUGINS_OPTIONS_H_ |
+#define TOOLS_CLANG_PLUGINS_OPTIONS_H_ |
+ |
+namespace chrome_checker { |
+ |
+struct Options { |
+ Options() |
+ : check_base_classes(false), |
+ enforce_blink(false), |
+ check_enum_last_value(false), |
+ with_ast_visitor(false), |
+ check_templates(false), |
+ warn_only(false) {} |
+ |
+ bool check_base_classes; |
+ bool enforce_blink; |
+ bool check_enum_last_value; |
+ bool with_ast_visitor; |
+ bool check_templates; |
+ bool warn_only; |
+}; |
+ |
+} // namespace chrome_checker |
+ |
+#endif // TOOLS_CLANG_PLUGINS_OPTIONS_H_ |