Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DRedeclarable.h84 template<typename decl_type>
123 decl_type *getPrevious(const decl_type *D) const { in getPrevious()
188 decl_type *First;
204 decl_type *getPreviousDecl() { in getPreviousDecl()
243 decl_type *Starter;
312 template<typename decl_type>
319 decl_type *getFirstDecl() { in getFirstDecl()
323 return cast<decl_type>(getPrimaryMergedDecl(const_cast<decl_type*>(D))); in getFirstDecl()
332 return cast<decl_type>(getPrimaryMergedDecl(const_cast<decl_type*>(D))); in getFirstDecl()
368 decl_type *Ptr = nullptr;
[all …]
H A DDecl.h4288 template<typename decl_type>
4289 void Redeclarable<decl_type>::setPreviousDecl(decl_type *PrevDecl) { in setPreviousDecl()
4301 decl_type *MostRecent = First->getNextRedeclaration(); in setPreviousDecl()
4302 RedeclLink = PreviousDeclLink(cast<decl_type>(MostRecent)); in setPreviousDecl()
4306 static_cast<decl_type*>(this)->IdentifierNamespace |= in setPreviousDecl()
4311 First = static_cast<decl_type*>(this); in setPreviousDecl()
4315 First->RedeclLink.setLatest(static_cast<decl_type*>(this)); in setPreviousDecl()
4317 assert(!isa<NamedDecl>(static_cast<decl_type*>(this)) || in setPreviousDecl()
4318 cast<NamedDecl>(static_cast<decl_type*>(this))->isLinkageValid()); in setPreviousDecl()
H A DDeclBase.h317 template<typename decl_type> friend class Redeclarable;
H A DDeclTemplate.h852 template <class decl_type> friend class RedeclarableTemplate;
/freebsd-12.1/contrib/gcc/cp/
H A Dpt.c1057 tree decl_type; in is_specialization_of_friend() local
1081 decl_type = TREE_TYPE (decl); 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()
11292 tree decl_type; in get_bindings() local
11298 decl_type = TREE_TYPE (decl); in get_bindings()
11319 decl_type = tsubst (decl_type, converted_args, tf_none, NULL_TREE); in get_bindings()
11320 if (decl_type == error_mark_node) in get_bindings()
11326 TYPE_ARG_TYPES (decl_type)); in get_bindings()
[all …]
H A Ddecl.c9375 tree decl_type; in check_default_argument() local
9385 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()
/freebsd-12.1/contrib/gcc/config/rs6000/
H A Drs6000-c.c2491 tree decl_type = TREE_VALUE (fnargs); in altivec_resolve_overloaded_builtin() local
2519 if (POINTER_TYPE_P (decl_type) in altivec_resolve_overloaded_builtin()
2524 && !TYPE_READONLY (TREE_TYPE (decl_type))) in altivec_resolve_overloaded_builtin()