Avi Drissman | dfd88085 | 2022-09-15 20:11:09 | [diff] [blame] | 1 | // Copyright 2012 The Chromium Authors |
[email protected] | 28cf60b | 2014-06-19 21:14:37 | [diff] [blame] | 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 | |||||
Keishi Hattori | 9858cea | 2022-11-18 02:13:31 | [diff] [blame] | 8 | #include <string> |
Keishi Hattori | bb22adf | 2023-02-28 09:14:20 | [diff] [blame] | 9 | #include <vector> |
Keishi Hattori | 9858cea | 2022-11-18 02:13:31 | [diff] [blame] | 10 | |
[email protected] | 28cf60b | 2014-06-19 21:14:37 | [diff] [blame] | 11 | namespace chrome_checker { |
12 | |||||
13 | struct Options { | ||||
vmpstr | 3d84fcc | 2016-02-17 22:00:38 | [diff] [blame] | 14 | bool check_base_classes = false; |
Xianzhu Wang | 86b1146 | 2022-09-24 22:00:12 | [diff] [blame] | 15 | bool check_blink_data_member_type = false; |
dskiba | 2bc8946 | 2016-04-06 15:51:06 | [diff] [blame] | 16 | bool check_ipc = false; |
Yuki Yamada | ead8ffe | 2021-10-21 06:09:31 | [diff] [blame] | 17 | bool check_layout_object_methods = false; |
Stefan Zager | e9734a5c | 2023-01-20 22:44:46 | [diff] [blame] | 18 | bool check_stack_allocated = false; |
Ali Hijazi | bea33d1 | 2024-04-01 12:54:50 | [diff] [blame] | 19 | bool check_ptrs_to_non_string_literals = false; |
Ali Hijazi | 158eaa3 | 2024-04-05 15:05:54 | [diff] [blame] | 20 | bool check_span_fields = false; |
Takuto Ikuta | a583706 | 2024-04-09 07:42:53 | [diff] [blame] | 21 | bool enable_match_profiling = false; |
Keishi Hattori | 9858cea | 2022-11-18 02:13:31 | [diff] [blame] | 22 | std::string exclude_fields_file; |
[email protected] | 28cf60b | 2014-06-19 21:14:37 | [diff] [blame] | 23 | }; |
24 | |||||
25 | } // namespace chrome_checker | ||||
26 | |||||
27 | #endif // TOOLS_CLANG_PLUGINS_OPTIONS_H_ |