/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | Redeclarable.h | 83 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 D | Decl.h | 4558 template<typename decl_type> 4559 void Redeclarable<decl_type>::setPreviousDecl(decl_type *PrevDecl) { in setPreviousDecl() 4571 decl_type *MostRecent = First->getNextRedeclaration(); in setPreviousDecl() 4572 RedeclLink = PreviousDeclLink(cast<decl_type>(MostRecent)); in setPreviousDecl() 4576 static_cast<decl_type*>(this)->IdentifierNamespace |= in setPreviousDecl() 4581 First = static_cast<decl_type*>(this); in setPreviousDecl() 4585 First->RedeclLink.setLatest(static_cast<decl_type*>(this)); in setPreviousDecl() 4587 assert(!isa<NamedDecl>(static_cast<decl_type*>(this)) || in setPreviousDecl() 4588 cast<NamedDecl>(static_cast<decl_type*>(this))->isLinkageValid()); in setPreviousDecl()
|
H A D | DeclBase.h | 322 template<typename decl_type> friend class Redeclarable;
|
H A D | DeclTemplate.h | 857 template <class decl_type> friend class RedeclarableTemplate;
|
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/ |
H A D | trans-openmp.cc | 804 tree decl_type = TREE_TYPE (OMP_CLAUSE_DECL (clause)); in gfc_omp_clause_copy_ctor() local 819 decl_type in gfc_omp_clause_copy_ctor() 822 if (gfc_is_polymorphic_nonptr (decl_type)) in gfc_omp_clause_copy_ctor() 824 if (POINTER_TYPE_P (decl_type)) in gfc_omp_clause_copy_ctor() 825 decl_type = TREE_TYPE (decl_type); in gfc_omp_clause_copy_ctor() 826 decl_type = TREE_TYPE (TYPE_FIELDS (decl_type)); in gfc_omp_clause_copy_ctor() 827 if (GFC_DESCRIPTOR_TYPE_P (decl_type) || GFC_ARRAY_TYPE_P (decl_type)) in gfc_omp_clause_copy_ctor() 1327 tree decl_type = TREE_TYPE (OMP_CLAUSE_DECL (clause)); in gfc_omp_clause_dtor() local 1337 decl_type in gfc_omp_clause_dtor() 1339 if (gfc_is_polymorphic_nonptr (decl_type)) in gfc_omp_clause_dtor() [all …]
|
H A D | trans-array.cc | 8988 tree decl_type; in structure_alloc_comps() local 9009 decl_type = TREE_TYPE (decl); in structure_alloc_comps() 9011 if ((POINTER_TYPE_P (decl_type)) in structure_alloc_comps() 9012 || (TREE_CODE (decl_type) == REFERENCE_TYPE && rank == 0)) in structure_alloc_comps() 9020 decl_type = TREE_TYPE (decl); in structure_alloc_comps() 9025 if (TREE_CODE (decl_type) == ARRAY_TYPE in structure_alloc_comps() 9026 || (GFC_DESCRIPTOR_TYPE_P (decl_type) && rank != 0)) in structure_alloc_comps() 9032 if (GFC_DESCRIPTOR_TYPE_P (decl_type)) in structure_alloc_comps() 9050 tmp = array_type_nelts (decl_type); in structure_alloc_comps() 9095 tmp = gfc_duplicate_allocatable (dest, decl, decl_type, rank, in structure_alloc_comps()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rs6000/ |
H A D | rs6000-c.c | 1611 tree decl_type = TREE_VALUE (fnargs); in altivec_resolve_overloaded_builtin() local 1639 if (POINTER_TYPE_P (decl_type) in altivec_resolve_overloaded_builtin() 1644 && !TYPE_READONLY (TREE_TYPE (decl_type))) in altivec_resolve_overloaded_builtin()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/ |
H A D | rs6000-c.cc | 1783 tree decl_type = TREE_VALUE (fnargs); in altivec_resolve_overloaded_builtin() local 1810 if (POINTER_TYPE_P (decl_type) in altivec_resolve_overloaded_builtin() 1815 && !TYPE_READONLY (TREE_TYPE (decl_type))) in altivec_resolve_overloaded_builtin()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
H A D | tree-ssa-structalias.c | 6061 tree decl_type = TREE_TYPE (decl); variable 6062 tree declsize = DECL_P (decl) ? DECL_SIZE (decl) : TYPE_SIZE (decl_type); 6092 push_fields_onto_fieldstack (decl_type, &fieldstack, 0); 6131 if (POINTER_TYPE_P (decl_type) 6132 && (TYPE_RESTRICT (decl_type) || add_restrict)) 6135 && !type_contains_placeholder_p (TREE_TYPE (decl_type)) 6138 TYPE_UID (TREE_TYPE (decl_type)))) 6141 tree heapvar = build_fake_var_decl (TREE_TYPE (decl_type)); 6145 TYPE_UID (TREE_TYPE (decl_type))); 6150 TYPE_UID (TREE_TYPE (decl_type)));
|
H A D | attribs.c | 380 tree decl_type = TREE_TYPE (last_decl); in diag_attr_exclusions() local 381 found |= diag_attr_exclusions (last_decl, decl_type, attrname, spec); in diag_attr_exclusions()
|
H A D | tree-core.h | 1897 ENUM_BITFIELD(function_decl_type) decl_type: 2;
|
H A D | tree.h | 3029 (NODE->function_decl.decl_type) 3041 decl->function_decl.decl_type = t; in set_function_decl_type() 3056 (FUNCTION_DECL_CHECK (NODE)->function_decl.decl_type == OPERATOR_NEW) 3067 (FUNCTION_DECL_CHECK (NODE)->function_decl.decl_type == OPERATOR_DELETE) 3218 (FUNCTION_DECL_CHECK (NODE)->function_decl.decl_type == LAMBDA_FUNCTION)
|
H A D | hsa-gen.c | 3583 BrigType16_t decl_type in get_format_argument_type() local 3585 return mem_type_for_type (decl_type); in get_format_argument_type()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | tree-ssa-structalias.cc | 6185 tree decl_type = TREE_TYPE (decl); in create_variable_info_for_1() local 6186 tree declsize = DECL_P (decl) ? DECL_SIZE (decl) : TYPE_SIZE (decl_type); in create_variable_info_for_1() 6216 push_fields_onto_fieldstack (decl_type, &fieldstack, 0); in create_variable_info_for_1() 6255 if (POINTER_TYPE_P (decl_type) in create_variable_info_for_1() 6256 && (TYPE_RESTRICT (decl_type) || add_restrict)) in create_variable_info_for_1() 6259 && !type_contains_placeholder_p (TREE_TYPE (decl_type)) in create_variable_info_for_1() 6262 TYPE_UID (TREE_TYPE (decl_type)))) in create_variable_info_for_1() 6265 tree heapvar = build_fake_var_decl (TREE_TYPE (decl_type)); in create_variable_info_for_1() 6269 TYPE_UID (TREE_TYPE (decl_type))); in create_variable_info_for_1() 6274 TYPE_UID (TREE_TYPE (decl_type))); in create_variable_info_for_1()
|
H A D | tree-core.h | 1968 ENUM_BITFIELD(function_decl_type) decl_type: 2;
|
H A D | attribs.cc | 470 tree decl_type = TREE_TYPE (last_decl); in diag_attr_exclusions() local 471 found |= diag_attr_exclusions (last_decl, decl_type, attrname, spec); in diag_attr_exclusions()
|
H A D | pointer-query.cc | 1733 tree decl_type = TREE_TYPE (decl); in handle_decl() local 1742 if (!addr && POINTER_TYPE_P (decl_type)) in handle_decl()
|
H A D | tree.h | 3188 (NODE->function_decl.decl_type)
|
H A D | ChangeLog-2019 | 19118 and move decl_type so that it contines to be at a byte boundary.
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/ |
H A D | trans-array.c | 8819 tree decl_type; in structure_alloc_comps() local 8840 decl_type = TREE_TYPE (decl); in structure_alloc_comps() 8842 if ((POINTER_TYPE_P (decl_type)) in structure_alloc_comps() 8843 || (TREE_CODE (decl_type) == REFERENCE_TYPE && rank == 0)) in structure_alloc_comps() 8851 decl_type = TREE_TYPE (decl); in structure_alloc_comps() 8856 if (TREE_CODE (decl_type) == ARRAY_TYPE in structure_alloc_comps() 8857 || (GFC_DESCRIPTOR_TYPE_P (decl_type) && rank != 0)) in structure_alloc_comps() 8863 if (GFC_DESCRIPTOR_TYPE_P (decl_type)) in structure_alloc_comps() 8881 tmp = array_type_nelts (decl_type); in structure_alloc_comps() 8927 tmp = gfc_duplicate_allocatable (dest, decl, decl_type, rank, in structure_alloc_comps()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/ |
H A D | pt.c | 1444 tree decl_type; in is_specialization_of_friend() local 1465 decl_type = TREE_TYPE (DECL_TI_TEMPLATE (decl)); in is_specialization_of_friend() 1468 decl_type = TREE_TYPE (decl); in is_specialization_of_friend() 1476 if (!same_type_p (TREE_TYPE (decl_type), TREE_TYPE (friend_type))) in is_specialization_of_friend() 1482 decl_args_type = TYPE_ARG_TYPES (decl_type); in is_specialization_of_friend() 1494 tree decl_type = TREE_TYPE (decl); in is_specialization_of_friend() local 1499 = CLASSTYPE_TEMPLATE_INFO (decl_type) in is_specialization_of_friend() 1500 && PRIMARY_TEMPLATE_P (CLASSTYPE_TI_TEMPLATE (decl_type)); in is_specialization_of_friend() 1509 if (DECL_NAME (CLASSTYPE_TI_TEMPLATE (decl_type)) in is_specialization_of_friend() 1518 (DECL_TEMPLATE_PARMS (CLASSTYPE_TI_TEMPLATE (decl_type)), in is_specialization_of_friend() [all …]
|
H A D | decl.c | 13941 tree decl_type; in check_default_argument() local 13951 decl_type = decl; in check_default_argument() 13955 decl_type = TREE_TYPE (decl); in check_default_argument() 13960 || decl_type == error_mark_node) in check_default_argument() 13972 perform_implicit_conversion_flags (decl_type, carg, complain, in check_default_argument() 13978 if (TYPE_PTR_OR_PTRMEM_P (decl_type) in check_default_argument()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
H A D | pt.cc | 1468 tree decl_type; in is_specialization_of_friend() local 1489 decl_type = TREE_TYPE (DECL_TI_TEMPLATE (decl)); in is_specialization_of_friend() 1492 decl_type = TREE_TYPE (decl); in is_specialization_of_friend() 1500 if (!same_type_p (TREE_TYPE (decl_type), TREE_TYPE (friend_type))) in is_specialization_of_friend() 1506 decl_args_type = TYPE_ARG_TYPES (decl_type); in is_specialization_of_friend() 1518 tree decl_type = TREE_TYPE (decl); in is_specialization_of_friend() local 1523 = CLASSTYPE_TEMPLATE_INFO (decl_type) in is_specialization_of_friend() 1524 && PRIMARY_TEMPLATE_P (CLASSTYPE_TI_TEMPLATE (decl_type)); in is_specialization_of_friend() 1533 if (DECL_NAME (CLASSTYPE_TI_TEMPLATE (decl_type)) in is_specialization_of_friend() 1542 (DECL_TEMPLATE_PARMS (CLASSTYPE_TI_TEMPLATE (decl_type)), in is_specialization_of_friend() [all …]
|
H A D | decl.cc | 14690 tree decl_type; in check_default_argument() local 14700 decl_type = decl; in check_default_argument() 14704 decl_type = TREE_TYPE (decl); in check_default_argument() 14709 || decl_type == error_mark_node) in check_default_argument() 14721 perform_implicit_conversion_flags (decl_type, carg, complain, in check_default_argument() 14727 if (TYPE_PTR_OR_PTRMEM_P (decl_type) in check_default_argument()
|
H A D | module.cc | 5358 unsigned kind = t->function_decl.decl_type; in core_bools() 5505 t->function_decl.decl_type = function_decl_type (kind); in core_bools()
|