]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/typeclass.h
re PR target/37170 (gcc.dg/weak/weak-1.c)
[thirdparty/gcc.git] / gcc / typeclass.h
CommitLineData
5801c467 1/* Type class enum
5662a50d 2 Copyright (C) 2004, 2005 Free Software Foundation, Inc.
5801c467
JQ
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 2, 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
16You should have received a copy of the GNU General Public License
17along with GCC; see the file COPYING. If not, write to the Free
366ccddb
KC
18Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
1902110-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
33enum 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 */