* c-ubsan.c (ubsan_instrument_shift): Use type0.
[official-gcc.git] / gcc / typeclass.h
blob5a1f9a664e5ba198ad2ee08d9d4b0b248279a170
1 /* Type class enum
2 Copyright (C) 2004-2015 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 3, 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 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.
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/>. */
25 #ifndef GCC_TYPECLASS_H
26 #define GCC_TYPECLASS_H
28 /* Values returned by __builtin_classify_type. */
30 enum type_class
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
43 #endif /* GCC_TYPECLASS_H */