* gcc.dg/pr32912-3.c: Compile with -w.
[official-gcc.git] / gcc / typeclass.h
blob9c40b114624fa74a13910a0d65f9801edd0d4de6
1 /* Type class enum
2 Copyright (C) 2004, 2005 Free Software Foundation, Inc.
4 This file is part of GCC.
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.
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.
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
18 Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
19 02110-1301, USA. */
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. */
28 #ifndef GCC_TYPECLASS_H
29 #define GCC_TYPECLASS_H
31 /* Values returned by __builtin_classify_type. */
33 enum type_class
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,
42 array_type_class, string_type_class,
43 lang_type_class
46 #endif /* GCC_TYPECLASS_H */