Searched refs:decl_type (Results 1 – 7 of 7) sorted by relevance
24 template<typename decl_type>29 llvm::PointerIntPair<decl_type *, 1, bool> NextAndIsPrevious;31 DeclLink(decl_type *D, bool isLatest) in DeclLink()36 decl_type *getNext() const { return NextAndIsPrevious.getPointer(); } in getNext()37 void setNext(decl_type *D) { NextAndIsPrevious.setPointer(D); } in setNext()40 static DeclLink PreviousDeclLink(decl_type *D) { in PreviousDeclLink()44 static DeclLink LatestDeclLink(decl_type *D) { in LatestDeclLink()62 Redeclarable() : RedeclLink(LatestDeclLink(static_cast<decl_type*>(this))) { } in Redeclarable()66 decl_type *getPreviousDecl() { in getPreviousDecl()71 const decl_type *getPreviousDecl() const { in getPreviousDecl()[all …]
3495 template<typename decl_type>3496 void Redeclarable<decl_type>::setPreviousDecl(decl_type *PrevDecl) { in setPreviousDecl()3500 decl_type *First; in setPreviousDecl()3508 decl_type *MostRecent = First->RedeclLink.getNext(); in setPreviousDecl()3509 RedeclLink = PreviousDeclLink(cast<decl_type>(MostRecent)); in setPreviousDecl()3513 static_cast<decl_type*>(this)->IdentifierNamespace |= in setPreviousDecl()3518 First = static_cast<decl_type*>(this); in setPreviousDecl()3522 First->RedeclLink = LatestDeclLink(static_cast<decl_type*>(this)); in setPreviousDecl()3523 assert(!isa<NamedDecl>(static_cast<decl_type*>(this)) || in setPreviousDecl()3524 cast<NamedDecl>(static_cast<decl_type*>(this))->isLinkageValid()); in setPreviousDecl()
303 template<typename decl_type> friend class Redeclarable;
631 template <class decl_type> friend class RedeclarableTemplate;
1057 tree decl_type; in is_specialization_of_friend() local1078 decl_type = TREE_TYPE (DECL_TI_TEMPLATE (decl)); in is_specialization_of_friend()1081 decl_type = TREE_TYPE (decl); in is_specialization_of_friend()1089 if (!same_type_p (TREE_TYPE (decl_type), TREE_TYPE (friend_type))) in is_specialization_of_friend()1095 decl_args_type = TYPE_ARG_TYPES (decl_type); in is_specialization_of_friend()1107 tree decl_type = TREE_TYPE (decl); in is_specialization_of_friend() local1112 = CLASSTYPE_TEMPLATE_INFO (decl_type) in is_specialization_of_friend()1113 && PRIMARY_TEMPLATE_P (CLASSTYPE_TI_TEMPLATE (decl_type)); in is_specialization_of_friend()1122 if (DECL_NAME (CLASSTYPE_TI_TEMPLATE (decl_type)) in is_specialization_of_friend()1131 (DECL_TEMPLATE_PARMS (CLASSTYPE_TI_TEMPLATE (decl_type)), in is_specialization_of_friend()[all …]
9375 tree decl_type; in check_default_argument() local9385 decl_type = decl; in check_default_argument()9389 decl_type = TREE_TYPE (decl); in check_default_argument()9394 || decl_type == error_mark_node) in check_default_argument()9404 || !can_convert_arg (decl_type, TREE_TYPE (arg), arg, LOOKUP_NORMAL)) in check_default_argument()9411 decl_type, TREE_TYPE (arg)); in check_default_argument()
2491 tree decl_type = TREE_VALUE (fnargs); in altivec_resolve_overloaded_builtin() local2519 if (POINTER_TYPE_P (decl_type) in altivec_resolve_overloaded_builtin()2524 && !TYPE_READONLY (TREE_TYPE (decl_type))) in altivec_resolve_overloaded_builtin()