Searched refs:decl_type (Results 1 - 7 of 7) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
H A DRedeclarable.h83 template<typename decl_type>
113 DeclLink(PreviousTag, decl_type *D) : Link(NotKnownLatest(Previous(D))) {}
122 decl_type *getPrevious(const decl_type *D) const {
126 return static_cast<decl_type*>(NKL.get<Previous>());
131 const_cast<decl_type *>(D));
134 return static_cast<decl_type*>(Link.get<KnownLatest>().get(D));
137 void setPrevious(decl_type *D) {
142 void setLatest(decl_type *D) {
166 static DeclLink PreviousDeclLink(decl_type *
[all...]
H A DDecl.h4472 template<typename decl_type>
4473 void Redeclarable<decl_type>::setPreviousDecl(decl_type *PrevDecl) {
4485 decl_type *MostRecent = First->getNextRedeclaration();
4486 RedeclLink = PreviousDeclLink(cast<decl_type>(MostRecent));
4490 static_cast<decl_type*>(this)->IdentifierNamespace |=
4495 First = static_cast<decl_type*>(this);
4499 First->RedeclLink.setLatest(static_cast<decl_type*>(this));
4501 assert(!isa<NamedDecl>(static_cast<decl_type*>(this)) ||
4502 cast<NamedDecl>(static_cast<decl_type*>(thi
[all...]
H A DDeclBase.h321 template<typename decl_type> friend class Redeclarable;
H A DDeclTemplate.h860 template <class decl_type> friend class RedeclarableTemplate;
/freebsd-12-stable/contrib/gcc/cp/
H A Dpt.c1057 tree decl_type; local
1078 decl_type = TREE_TYPE (DECL_TI_TEMPLATE (decl));
1081 decl_type = TREE_TYPE (decl);
1089 if (!same_type_p (TREE_TYPE (decl_type), TREE_TYPE (friend_type)))
1095 decl_args_type = TYPE_ARG_TYPES (decl_type);
1107 tree decl_type = TREE_TYPE (decl); local
1112 = CLASSTYPE_TEMPLATE_INFO (decl_type)
1113 && PRIMARY_TEMPLATE_P (CLASSTYPE_TI_TEMPLATE (decl_type));
1122 if (DECL_NAME (CLASSTYPE_TI_TEMPLATE (decl_type))
1131 (DECL_TEMPLATE_PARMS (CLASSTYPE_TI_TEMPLATE (decl_type)),
11292 tree decl_type; local
[all...]
H A Ddecl.c9390 tree decl_type;
9400 decl_type = decl;
9404 decl_type = TREE_TYPE (decl);
9409 || decl_type == error_mark_node)
9419 || !can_convert_arg (decl_type, TREE_TYPE (arg), arg, LOOKUP_NORMAL))
9426 decl_type, TREE_TYPE (arg));
9375 tree decl_type; local
/freebsd-12-stable/contrib/gcc/config/rs6000/
H A Drs6000-c.c2493 tree decl_type = TREE_VALUE (fnargs);
2521 if (POINTER_TYPE_P (decl_type)
2526 && !TYPE_READONLY (TREE_TYPE (decl_type)))
2491 tree decl_type = TREE_VALUE (fnargs); local

Completed in 261 milliseconds