| 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..bb50124d57f371973738aef5dc5dfacbbdcc1f93
|
| --- /dev/null
|
| +++ b/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_
|
|
|