1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef TOOLS_CLANG_PLUGINS_OPTIONS_H_ 6 #define TOOLS_CLANG_PLUGINS_OPTIONS_H_ 7 8 namespace chrome_checker { 9 10 struct Options { 11 Options() 12 : check_base_classes(false), 13 check_virtuals_in_implementations(true), 14 check_weak_ptr_factory_order(false), 15 check_enum_last_value(false) {} 16 17 bool check_base_classes; 18 bool check_virtuals_in_implementations; 19 bool check_weak_ptr_factory_order; 20 bool check_enum_last_value; 21 }; 22 23 } // namespace chrome_checker 24 25 #endif // TOOLS_CLANG_PLUGINS_OPTIONS_H_ 26