diff options
Diffstat (limited to 'gcc-4.2.1-5666.3/gcc/typeclass.h')
-rw-r--r-- | gcc-4.2.1-5666.3/gcc/typeclass.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/gcc-4.2.1-5666.3/gcc/typeclass.h b/gcc-4.2.1-5666.3/gcc/typeclass.h new file mode 100644 index 000000000..9c40b1146 --- /dev/null +++ b/gcc-4.2.1-5666.3/gcc/typeclass.h @@ -0,0 +1,46 @@ +/* Type class enum + Copyright (C) 2004, 2005 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING. If not, write to the Free +Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301, USA. */ + +/* As a special exception, if you link this library with other files, + some of which are compiled with GCC, to produce an executable, + this library does not by itself cause the resulting executable + to be covered by the GNU General Public License. + This exception does not however invalidate any other reasons why + the executable file might be covered by the GNU General Public License. */ + +#ifndef GCC_TYPECLASS_H +#define GCC_TYPECLASS_H + +/* Values returned by __builtin_classify_type. */ + +enum type_class +{ + no_type_class = -1, + void_type_class, integer_type_class, char_type_class, + enumeral_type_class, boolean_type_class, + pointer_type_class, reference_type_class, offset_type_class, + real_type_class, complex_type_class, + function_type_class, method_type_class, + record_type_class, union_type_class, + array_type_class, string_type_class, + lang_type_class +}; + +#endif /* GCC_TYPECLASS_H */ |