Searched refs:is_type (Results 1 - 21 of 21) sorted by relevance

/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/common_type/requirements/
H A Dsfinae_friendly_1.cc46 struct is_type : public and_<has_type<T>, is_expected_type<T, Expected>> struct in inherits:and_
163 static_assert(is_type<std::common_type<int, int>, int>(), "");
164 static_assert(is_type<std::common_type<ScEn, ScEn>, ScEn>(), "");
165 static_assert(is_type<std::common_type<UnscEn, UnscEn>, UnscEn>(), "");
166 static_assert(is_type<std::common_type<UnscEn, int>, int>(), "");
167 static_assert(is_type<std::common_type<int, int, int>, int>(), "");
168 static_assert(is_type<std::common_type<int, int, int, int>, int>(), "");
169 static_assert(is_type<std::common_type<int, int, int, int, int>, int>(), "");
170 static_assert(is_type<std::common_type<S, S>, S>(), "");
171 static_assert(is_type<st
[all...]
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/result_of/
H A Dsfinae_friendly_1.cc52 struct is_type : public and_<has_type<T>, is_expected_type<T, Res>> struct in inherits:and_
165 static_assert(is_type<std::result_of<S(int)>, short>::value, "Error!");
166 static_assert(is_type<std::result_of<S&(unsigned char, int&)>,
168 static_assert(is_type<std::result_of<PF1()>, bool>::value, "Error!");
169 static_assert(is_type<std::result_of<PF1&()>, bool>::value, "Error!");
170 static_assert(is_type<std::result_of<PMS(std::unique_ptr<S>, int)>,
172 static_assert(is_type<std::result_of<PMS(std::unique_ptr<S>&, unsigned&)>,
174 static_assert(is_type<std::result_of<PMS&(std::unique_ptr<S>, int)>,
176 static_assert(is_type<std::result_of<PMS&(std::unique_ptr<S>&, unsigned&)>,
179 static_assert(is_type<st
[all...]
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/duration/requirements/
H A Dsfinae_friendly_1.cc46 struct is_type : public and_<has_type<T>, is_expected_type<T, Expected>> struct in inherits:and_
55 static_assert(is_type<std::common_type<din, din>, din>(), "");
56 static_assert(is_type<std::common_type<din, din, din>, din>(), "");
58 static_assert(is_type<std::common_type<din, ddn>, ddn>(), "");
59 static_assert(is_type<std::common_type<din, din, ddn>, ddn>(), "");
60 static_assert(is_type<std::common_type<din, ddn>, ddn>(), "");
61 static_assert(is_type<std::common_type<ddn, din, din>, ddn>(), "");
/haiku-buildtools/gcc/gcc/go/gofrontend/
H A Dunsafe.cc52 go_assert(no->is_type());
H A Dimport.cc687 else if (!no->is_type_declaration() && !no->is_type())
706 go_assert(no->is_type());
735 else if (no->is_type())
798 go_assert(named_object != NULL && named_object->is_type());
H A Dexport.cc472 go_assert(named_object != NULL && named_object->is_type());
H A Dgogo.cc1952 if (!this->in_global_scope() && no->is_type())
2160 if (global_no->is_type())
4451 if ((*p)->is_type())
6859 else if (this->is_type()
6898 if (this->is_type())
7164 if (new_object->is_type())
H A Dparse.cc355 else if (named_object->is_type())
372 if (named_object->is_type())
953 if (no->is_type())
2415 && named_object->is_type()
H A Dgogo.h1992 is_type() const function in class:Named_object
H A Dtypes.cc10310 return this->named_object()->is_type();
/haiku-buildtools/legacy/gcc/libiberty/
H A Dcplus-dem.c1562 demangle_template (work, mangled, tname, trawname, is_type, remember)
1567 int is_type;
1580 if (is_type)
1638 if (!is_type)
1662 if (!is_type)
1690 if (!is_type)
1718 if (!is_type)
1731 if (!is_type)
1737 if (!is_type)
1761 if (is_type
[all...]
/haiku-buildtools/legacy/binutils/libiberty/
H A Dcplus-dem.c1934 int is_type, int remember)
1944 if (is_type)
1997 if (!is_type)
2021 if (!is_type)
2049 if (!is_type)
2077 if (!is_type)
2090 if (!is_type)
2096 if (!is_type)
2120 if (is_type && remember)
1932 demangle_template(struct work_stuff *work, const char **mangled, string *tname, string *trawname, int is_type, int remember) argument
/haiku-buildtools/gcc/libiberty/
H A Dcplus-dem.c2100 int is_type, int remember)
2110 if (is_type)
2163 if (!is_type)
2187 if (!is_type)
2215 if (!is_type)
2243 if (!is_type)
2256 if (!is_type)
2262 if (!is_type)
2286 if (is_type && remember)
2098 demangle_template(struct work_stuff *work, const char **mangled, string *tname, string *trawname, int is_type, int remember) argument
/haiku-buildtools/binutils/libiberty/
H A Dcplus-dem.c2165 int is_type, int remember)
2175 if (is_type)
2230 if (!is_type)
2254 if (!is_type)
2282 if (!is_type)
2310 if (!is_type)
2323 if (!is_type)
2329 if (!is_type)
2353 if (is_type && remember)
2163 demangle_template(struct work_stuff *work, const char **mangled, string *tname, string *trawname, int is_type, int remember) argument
/haiku-buildtools/legacy/gcc/gcc/
H A Dc-common.c429 int is_type = 0; local
439 is_type = TREE_CODE (node) == TYPE_DECL;
442 type = node, is_type = 1;
497 if (is_type)
535 if (is_type)
560 if (is_type
699 else if (is_type)
/haiku-buildtools/legacy/gcc/gcc/cp/
H A Dpt.c1743 int is_type, idx; local
1749 is_type = TREE_PURPOSE (parm) == class_type_node;
1766 if (!is_type)
3073 int is_type, requires_type, is_tmpl_type, requires_tmpl_type; local
3116 is_type = TREE_CODE_CLASS (TREE_CODE (arg)) == 't' || is_tmpl_type;
3118 if (requires_type && ! is_type && TREE_CODE (arg) == SCOPE_REF
3126 is_type = 1;
3128 if (is_type != requires_type)
3136 if (is_type)
3160 if (is_type)
[all...]
/haiku-buildtools/gcc/gcc/ada/gcc-interface/
H A Ddecl.c248 const bool is_type = IN (kind, Type_Kind);
286 && is_type
340 if ((!definition || (is_type && imported_p))
384 || is_type
416 if (is_type)
4823 if (is_type && (!gnu_decl || this_made_decl))
5081 if (is_type && !TYPE_IS_DUMMY_P (TREE_TYPE (gnu_decl)))
5242 && !(is_type && gnat_equiv_type != gnat_entity)
5323 if (is_type && !definition)
247 const bool is_type = IN (kind, Type_Kind); local
/haiku-buildtools/legacy/binutils/gas/config/
H A Dtc-tic54x.c319 static int is_type PARAMS ((struct opstruct *, enum optype));
3545 is_type (operand, type) function
3666 while (!is_type (&operands[op], OPTYPE (refoptype[refop])))
4389 && is_type (&insn->operands[1], OP_SHIFT)
/haiku-buildtools/binutils/gas/config/
H A Dtc-tic54x.c3260 is_type (struct opstruct *operand, enum optype type) function
3378 while (!is_type (&operands[op], OPTYPE (refoptype[refop])))
4080 && is_type (&insn->operands[1], OP_SHIFT)
/haiku-buildtools/gcc/gcc/cp/
H A Dpt.c6604 int is_type, requires_type, is_tmpl_type, requires_tmpl_type; local
6662 is_type = TYPE_P (arg) || is_tmpl_type;
6664 if (requires_type && ! is_type && TREE_CODE (arg) == SCOPE_REF
6683 is_type = 1;
6685 if (is_type != requires_type)
6694 if (is_type)
6726 if (is_type)
/haiku-buildtools/gcc/gcc/c-family/
H A Dc-common.c7775 int is_type = 0;
7793 is_type = TREE_CODE (*node) == TYPE_DECL;
7796 type = node, is_type = 1;
7801 else if (is_type)
7759 int is_type = 0; local

Completed in 614 milliseconds