]>
Commit | Line | Data |
---|---|---|
57e8d3cf | 1 | /* Type class enum |
f1717362 | 2 | Copyright (C) 2004-2016 Free Software Foundation, Inc. |
57e8d3cf | 3 | |
4 | This file is part of GCC. | |
5 | ||
6 | GCC is free software; you can redistribute it and/or modify it under | |
7 | the terms of the GNU General Public License as published by the Free | |
6bc9506f | 8 | Software Foundation; either version 3, or (at your option) any later |
57e8d3cf | 9 | version. |
10 | ||
11 | GCC is distributed in the hope that it will be useful, but WITHOUT ANY | |
12 | WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 | for more details. | |
15 | ||
6bc9506f | 16 | Under Section 7 of GPL version 3, you are granted additional |
17 | permissions described in the GCC Runtime Library Exception, version | |
18 | 3.1, as published by the Free Software Foundation. | |
19 | ||
20 | You should have received a copy of the GNU General Public License and | |
21 | a copy of the GCC Runtime Library Exception along with this program; | |
22 | see the files COPYING3 and COPYING.RUNTIME respectively. If not, see | |
23 | <http://www.gnu.org/licenses/>. */ | |
57e8d3cf | 24 | |
25 | #ifndef GCC_TYPECLASS_H | |
26 | #define GCC_TYPECLASS_H | |
27 | ||
17cf341d | 28 | /* Values returned by __builtin_classify_type. */ |
29 | ||
30 | enum type_class | |
31 | { | |
32 | no_type_class = -1, | |
33 | void_type_class, integer_type_class, char_type_class, | |
34 | enumeral_type_class, boolean_type_class, | |
35 | pointer_type_class, reference_type_class, offset_type_class, | |
36 | real_type_class, complex_type_class, | |
37 | function_type_class, method_type_class, | |
38 | record_type_class, union_type_class, | |
a6d108f6 | 39 | array_type_class, string_type_class, |
17cf341d | 40 | lang_type_class |
41 | }; | |
57e8d3cf | 42 | |
43 | #endif /* GCC_TYPECLASS_H */ |