summaryrefslogtreecommitdiffstats
path: root/chromium/tools/clang/plugins/Options.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/tools/clang/plugins/Options.h')
-rw-r--r--chromium/tools/clang/plugins/Options.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/chromium/tools/clang/plugins/Options.h b/chromium/tools/clang/plugins/Options.h
new file mode 100644
index 00000000000..bb50124d57f
--- /dev/null
+++ b/chromium/tools/clang/plugins/Options.h
@@ -0,0 +1,25 @@
+// 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),
+ check_virtuals_in_implementations(true),
+ check_weak_ptr_factory_order(false),
+ check_enum_last_value(false) {}
+
+ bool check_base_classes;
+ bool check_virtuals_in_implementations;
+ bool check_weak_ptr_factory_order;
+ bool check_enum_last_value;
+};
+
+} // namespace chrome_checker
+
+#endif // TOOLS_CLANG_PLUGINS_OPTIONS_H_