]>
Commit | Line | Data |
---|---|---|
5801c467 | 1 | /* Type class enum |
5662a50d | 2 | Copyright (C) 2004, 2005 Free Software Foundation, Inc. |
5801c467 JQ |
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 | |
8 | Software Foundation; either version 2, or (at your option) any later | |
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 | ||
16 | You should have received a copy of the GNU General Public License | |
17 | along with GCC; see the file COPYING. If not, write to the Free | |
366ccddb KC |
18 | Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA |
19 | 02110-1301, USA. */ | |
5801c467 JQ |
20 | |
21 | /* As a special exception, if you link this library with other files, | |
22 | some of which are compiled with GCC, to produce an executable, | |
23 | this library does not by itself cause the resulting executable | |
24 | to be covered by the GNU General Public License. | |
25 | This exception does not however invalidate any other reasons why | |
26 | the executable file might be covered by the GNU General Public License. */ | |
27 | ||
28 | #ifndef GCC_TYPECLASS_H | |
29 | #define GCC_TYPECLASS_H | |
30 | ||
d25b6044 CH |
31 | /* Values returned by __builtin_classify_type. */ |
32 | ||
33 | enum type_class | |
34 | { | |
35 | no_type_class = -1, | |
36 | void_type_class, integer_type_class, char_type_class, | |
37 | enumeral_type_class, boolean_type_class, | |
38 | pointer_type_class, reference_type_class, offset_type_class, | |
39 | real_type_class, complex_type_class, | |
40 | function_type_class, method_type_class, | |
41 | record_type_class, union_type_class, | |
5662a50d | 42 | array_type_class, string_type_class, |
d25b6044 CH |
43 | lang_type_class |
44 | }; | |
5801c467 JQ |
45 | |
46 | #endif /* GCC_TYPECLASS_H */ |