1/* Type class enum
2 Copyright (C) 2004-2017 Free Software Foundation, Inc.
3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify it under
7the terms of the GNU General Public License as published by the Free
8Software Foundation; either version 3, or (at your option) any later
9version.
10
11GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12WARRANTY; without even the implied warranty of MERCHANTABILITY or
13FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14for more details.
15
16Under Section 7 of GPL version 3, you are granted additional
17permissions described in the GCC Runtime Library Exception, version
183.1, as published by the Free Software Foundation.
19
20You should have received a copy of the GNU General Public License and
21a copy of the GCC Runtime Library Exception along with this program;
22see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
23<http://www.gnu.org/licenses/>. */
24
25#ifndef GCC_TYPECLASS_H
26#define GCC_TYPECLASS_H
27
28/* Values returned by __builtin_classify_type. */
29
30enum 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,
39 array_type_class, string_type_class,
40 lang_type_class
41};
42
43#endif /* GCC_TYPECLASS_H */
44