/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/underlying_type/requirements/ |
H A D | explicit_instantiation.cc | 34 template struct underlying_type<test_type1>; 35 template struct underlying_type<test_type2>; 36 template struct underlying_type<test_type3>; 37 template struct underlying_type<test_type4>; 38 template struct underlying_type<test_type5>; 39 template struct underlying_type<test_type6>;
|
H A D | typedefs-1.cc | 36 typedef std::underlying_type<test_type1>::type type1; 37 typedef std::underlying_type<test_type2>::type type2; 38 typedef std::underlying_type<test_type3>::type type3; 39 typedef std::underlying_type<test_type4>::type type4; 40 typedef std::underlying_type<test_type5>::type type5; 41 typedef std::underlying_type<test_type6>::type type6;
|
H A D | typedefs-2.cc | 37 static_assert(is_same<underlying_type<E1>::type, unsigned>::value, "Error"); 38 static_assert(is_same<underlying_type<E2>::type, char>::value, "Error"); 39 static_assert(is_same<underlying_type<E3>::type, int>::value, "Error"); 40 static_assert(is_same<underlying_type<E4>::type, 42 static_assert(is_same<underlying_type<E5>::type, int>::value, "Error"); 43 static_assert(is_same<underlying_type<E6>::type, long>::value, "Error");
|
H A D | alias_decl.cc | 30 static_assert( is_same<typename underlying_type<E>::type,
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ext/ |
H A D | underlying_type1.C | 7 struct underlying_type struct 15 underlying_type<int>::type i5; 16 underlying_type<A>::type i6; // { dg-error "not declared|template|expected" } 17 underlying_type<B>::type i7; 18 underlying_type<U>::type i8;
|
H A D | underlying_type4.C | 16 struct underlying_type struct 19 int test1[is_same<underlying_type<E1>::type, UTE1>::value ? 1 : -1]; 20 int test2[is_same<underlying_type<E2>::type, UTE2>::value ? 1 : -1]; 21 int test3[is_same<underlying_type<E3>::type, UTE3>::value ? 1 : -1]; 23 int test4[is_integral<underlying_type<E1>::type>::value ? 1 : -1]; 24 int test5[is_integral<underlying_type<E2>::type>::value ? 1 : -1]; 25 int test6[is_integral<underlying_type<E3>::type>::value ? 1 : -1];
|
H A D | underlying_type5.C | 26 struct underlying_type struct in class:E4::E5::E6 29 static_assert(is_same<underlying_type<E1>::type, UTE1>::value, "Error"); 30 static_assert(is_same<underlying_type<E2>::type, UTE2>::value, "Error"); 31 static_assert(is_same<underlying_type<E3>::type, UTE3>::value, "Error"); 32 static_assert(is_same<underlying_type<E4>::type, UTE4>::value, "Error"); 33 static_assert(is_same<underlying_type<E5>::type, UTE5>::value, "Error"); 34 static_assert(is_same<underlying_type<E6>::type, UTE6>::value, "Error"); 36 static_assert(is_same<underlying_type<E1>::type, unsigned>::value, "Error"); 37 static_assert(is_same<underlying_type<E2>::type, char>::value, "Error"); 38 static_assert(is_same<underlying_type<E [all...] |
H A D | underlying_type8.C | 19 struct underlying_type; 23 test(T, U, typename underlying_type<T>::type); 26 struct underlying_type struct in class:E3::E4::E5::E6 31 test(T, U, typename underlying_type<T>::type) argument 33 static_assert(is_same<typename underlying_type<T>::type, U>::value,
|
H A D | underlying_type10.C | 13 struct underlying_type struct in class:E3::E4::E5::E6 18 test(T t, typename underlying_type<T>::type v)
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/ |
H A D | alias-decl-51.C | 9 using underlying_type = type_is<__underlying_type(T)>;
|
/haiku-buildtools/gcc/libstdc++-v3/include/experimental/ |
H A D | fs_fwd.h | 98 using __utype = typename std::underlying_type<copy_options>::type; 106 using __utype = typename std::underlying_type<copy_options>::type; 114 using __utype = typename std::underlying_type<copy_options>::type; 122 using __utype = typename std::underlying_type<copy_options>::type; 168 using __utype = typename std::underlying_type<perms>::type; 176 using __utype = typename std::underlying_type<perms>::type; 184 using __utype = typename std::underlying_type<perms>::type; 192 using __utype = typename std::underlying_type<perms>::type; 216 using __utype = typename std::underlying_type<directory_options>::type; 224 using __utype = typename std::underlying_type<directory_option [all...] |
/haiku-buildtools/gcc/gcc/cp/ |
H A D | cp-lang.c | 241 tree underlying_type = ENUM_UNDERLYING_TYPE (type); local 244 underlying_type 245 = c_common_type_for_mode (TYPE_MODE (underlying_type), 246 TYPE_UNSIGNED (underlying_type)); 248 return underlying_type;
|
H A D | decl.c | 12771 start_enum (tree name, tree enumtype, tree underlying_type, 12783 if (!underlying_type && scoped_enum_p) 12784 underlying_type = integer_type_node; 12786 if (underlying_type) 12787 underlying_type = cv_unqualified (underlying_type); 12809 else if (ENUM_FIXED_UNDERLYING_TYPE_P (enumtype) != !! underlying_type) 12817 else if (underlying_type && ENUM_UNDERLYING_TYPE (enumtype) 12818 && !dependent_type_p (underlying_type) 12820 && !same_type_p (underlying_type, 12752 start_enum(tree name, tree enumtype, tree underlying_type, bool scoped_enum_p, bool *is_new) argument 12893 tree underlying_type; local [all...] |
H A D | semantics.c | 3704 tree underlying_type; local 3708 underlying_type = cxx_make_type (UNDERLYING_TYPE); 3709 UNDERLYING_TYPE_TYPE (underlying_type) = type; 3710 SET_TYPE_STRUCTURAL_EQUALITY (underlying_type); 3712 return underlying_type; 3723 underlying_type = ENUM_UNDERLYING_TYPE (type); 3729 underlying_type 3730 = c_common_type_for_mode (TYPE_MODE (underlying_type), 3731 TYPE_UNSIGNED (underlying_type)); 3733 return underlying_type; [all...] |
H A D | decl2.c | 2366 tree underlying_type = TREE_TYPE (DECL_NAME (decl)); 2367 int underlying_vis = type_visibility (underlying_type); 2369 || (CLASS_TYPE_P (underlying_type) 2370 && CLASSTYPE_VISIBILITY_SPECIFIED (underlying_type))) 2361 tree underlying_type = TREE_TYPE (DECL_NAME (decl)); local
|
H A D | parser.c | 15744 tree underlying_type = NULL_TREE; 15867 underlying_type = grokdeclarator (NULL, &type_specifiers, TYPENAME, 15869 if (underlying_type == error_mark_node 15870 || check_for_bare_parameter_packs (underlying_type)) 15871 underlying_type = NULL_TREE; 15878 if (cxx_dialect < cxx11 || (!scoped_enum_p && !underlying_type)) 15888 if ((scoped_enum_p || underlying_type) 15924 type = start_enum (identifier, type, underlying_type, 15742 tree underlying_type = NULL_TREE; local
|
/haiku-buildtools/gcc/gcc/jit/ |
H A D | libgccjit.c | 1679 gcc::jit::recording::type *underlying_type = local 1683 == underlying_type->unqualified ()), 1687 underlying_type->get_debug_string ()); 1711 gcc::jit::recording::type *underlying_type = local 1715 == underlying_type->unqualified ()), 1719 underlying_type->get_debug_string ()); 1739 gcc::jit::recording::type *underlying_type = local 1745 underlying_type, 1753 == underlying_type->unqualified ()), 1757 underlying_type 1776 gcc::jit::recording::type *underlying_type = local [all...] |
/haiku-buildtools/gcc/gcc/c-family/ |
H A D | c-ada-spec.c | 2086 const_tree underlying_type = local 2093 && (!underlying_type 2094 || !TYPE_FIELDS (TREE_TYPE (underlying_type)))) 2097 || underlying_type == NULL_TREE 2099 && !TREE_VISITED (underlying_type) 2102 && DECL_SOURCE_FILE (underlying_type) 2105 && DECL_P (underlying_type) 2107 && decl_sloc (underlying_type, true) 2109 && DECL_SOURCE_FILE (underlying_type)
|