Home
last modified time | relevance | path

Searched refs:decl_type (Results 1 – 12 of 12) sorted by relevance

/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DRedeclarable.h83 template<typename decl_type>
113 DeclLink(PreviousTag, decl_type *D) : Link(NotKnownLatest(Previous(D))) {} in DeclLink()
122 decl_type *getPrevious(const decl_type *D) const { in getPrevious()
126 return static_cast<decl_type*>(NKL.get<Previous>()); in getPrevious()
131 const_cast<decl_type *>(D)); in getPrevious()
134 return static_cast<decl_type*>(Link.get<KnownLatest>().get(D)); in getPrevious()
137 void setPrevious(decl_type *D) { in setPrevious()
142 void setLatest(decl_type *D) { in setLatest()
166 static DeclLink PreviousDeclLink(decl_type *D) { in PreviousDeclLink()
187 decl_type *First;
[all …]
H A DDecl.h4831 template<typename decl_type>
4832 void Redeclarable<decl_type>::setPreviousDecl(decl_type *PrevDecl) { in setPreviousDecl()
4844 decl_type *MostRecent = First->getNextRedeclaration(); in setPreviousDecl()
4845 RedeclLink = PreviousDeclLink(cast<decl_type>(MostRecent)); in setPreviousDecl()
4849 static_cast<decl_type*>(this)->IdentifierNamespace |= in setPreviousDecl()
4854 First = static_cast<decl_type*>(this); in setPreviousDecl()
4858 First->RedeclLink.setLatest(static_cast<decl_type*>(this)); in setPreviousDecl()
4860 assert(!isa<NamedDecl>(static_cast<decl_type*>(this)) || in setPreviousDecl()
4861 cast<NamedDecl>(static_cast<decl_type*>(this))->isLinkageValid()); in setPreviousDecl()
H A DDeclBase.h324 template<typename decl_type> friend class Redeclarable;
H A DDeclTemplate.h880 template <class decl_type> friend class RedeclarableTemplate;
/openbsd-src/gnu/gcc/gcc/cp/
H A Dpt.c1057 tree decl_type; in is_specialization_of_friend() local
1078 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() local
1112 = 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 …]
H A Ddecl.c8840 tree decl_type; in check_default_argument() local
8850 decl_type = decl; in check_default_argument()
8854 decl_type = TREE_TYPE (decl); in check_default_argument()
8859 || decl_type == error_mark_node) in check_default_argument()
8869 || !can_convert_arg (decl_type, TREE_TYPE (arg), arg, LOOKUP_NORMAL)) in check_default_argument()
8876 decl_type, TREE_TYPE (arg)); in check_default_argument()
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/
H A Dpt.c9581 tree decl_type; local
9588 decl_type = TREE_TYPE (decl);
9589 if (explicit_args && uses_template_parms (decl_type))
9607 decl_type = tsubst (decl_type, converted_args, tf_none, NULL_TREE);
9608 if (decl_type == error_mark_node)
9612 decl_arg_types = TYPE_ARG_TYPES (decl_type);
9620 ? TREE_TYPE (decl_type) : NULL_TREE),
H A Ddecl.c12816 tree decl_type; local
12833 decl_type = decl;
12837 decl_type = TREE_TYPE (decl);
12842 || decl_type == error_mark_node)
12852 || !can_convert_arg (decl_type, TREE_TYPE (arg), arg))
12859 decl_type, TREE_TYPE (arg));
/openbsd-src/gnu/gcc/gcc/config/rs6000/
H A Drs6000-c.c2499 tree decl_type = TREE_VALUE (fnargs); in altivec_resolve_overloaded_builtin() local
2527 if (POINTER_TYPE_P (decl_type) in altivec_resolve_overloaded_builtin()
2532 && !TYPE_READONLY (TREE_TYPE (decl_type))) in altivec_resolve_overloaded_builtin()
/openbsd-src/gnu/usr.bin/gcc/gcc/java/
H A Dparse.c9534 tree decl, decl_type; local
9577 decl_type = TREE_TYPE (decl);
9578 layout_class_methods (decl_type);
9580 if (CLASS_FROM_SOURCE_P (decl_type))
9583 if (decl_type != current_class && !CLASS_LOADED_P (decl_type))
9584 safe_layout_class (decl_type);
H A Dparse.y5969 tree decl, decl_type; local
6012 decl_type = TREE_TYPE (decl);
6013 layout_class_methods (decl_type);
6015 if (CLASS_FROM_SOURCE_P (decl_type))
6018 if (decl_type != current_class && !CLASS_LOADED_P (decl_type))
6019 safe_layout_class (decl_type);
H A DChangeLog5198 (resolve_and_layout): New local `decl_type', set and used. Call