| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/ |
| H A D | sol2-cxx.c | 54 if (!(DECL_P (decl) && DECL_NAMESPACE_STD_P (CP_DECL_CONTEXT (decl)))) in solaris_cxx_decl_mangling_context()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/ |
| H A D | sol2-cxx.cc | 54 if (!(DECL_P (decl) && DECL_NAMESPACE_STD_P (CP_DECL_CONTEXT (decl)))) in solaris_cxx_decl_mangling_context()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
| H A D | name-lookup.cc | 1088 common = CP_DECL_CONTEXT (common); in queue_namespace() 1126 for (; !found; scope = CP_DECL_CONTEXT (scope)) in search_unqualified() 1149 pair.first = CP_DECL_CONTEXT (pair.first); in search_unqualified() 1309 if (CP_DECL_CONTEXT (fn) != context) in adl_class_fns() 1341 adl_namespace (CP_DECL_CONTEXT (scope)); in adl_namespace() 1568 tree ctx = CP_DECL_CONTEXT (arg); in adl_template_arg() 1644 tree ctx = CP_DECL_CONTEXT (TYPE_NAME (scope)); in search_adl() 2709 && CP_DECL_CONTEXT (decl) == CP_DECL_CONTEXT (bval)) in diagnose_name_conflict() 3391 tree ns = CP_DECL_CONTEXT (decl); in push_local_extern_decl_alias() 3485 if (!TREE_PUBLIC (CP_DECL_CONTEXT (decl))) in maybe_record_mergeable_decl() [all …]
|
| H A D | error.cc | 201 && (TREE_PUBLIC (decl) || !TREE_PUBLIC (CP_DECL_CONTEXT (decl)))) in dump_module_suffix() 505 dump_scope (pp, CP_DECL_CONTEXT (decl), flags); in dump_alias_template_specialization() 545 dump_scope (pp, CP_DECL_CONTEXT (decl), flags); in dump_type() 820 dump_scope (pp, CP_DECL_CONTEXT (decl), flags | TFF_SCOPE); in dump_aggr_type() 1145 dump_scope (pp, CP_DECL_CONTEXT (t), flags); in dump_simple_decl() 1303 dump_scope (pp, CP_DECL_CONTEXT (t), flags); in dump_decl() 1773 dump_scope (pp, CP_DECL_CONTEXT (t), flags); in dump_function_decl() 1777 auto cds = make_temp_override (current_dump_scope, CP_DECL_CONTEXT (t)); in dump_function_decl() 3188 && CP_DECL_CONTEXT (decl) != global_namespace))) in lang_decl_name() 3190 dump_type (cxx_pp, CP_DECL_CONTEXT (decl), TFF_PLAIN_IDENTIFIER); in lang_decl_name()
|
| H A D | dump.cc | 136 if (TREE_CODE (CP_DECL_CONTEXT (t)) == RECORD_TYPE) in cp_dump_tree()
|
| H A D | decl.cc | 1015 if (CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl) in decls_match() 1103 && CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl) in decls_match() 1562 && CP_DECL_CONTEXT (newdecl) == global_namespace) in duplicate_decls() 1820 if (CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl)) in duplicate_decls() 2033 || CLASSTYPE_TEMPLATE_INFO (CP_DECL_CONTEXT (olddecl)))) in duplicate_decls() 2110 && TREE_CODE (CP_DECL_CONTEXT (olddecl)) == NAMESPACE_DECL in duplicate_decls() 5585 context = CP_DECL_CONTEXT (decl); in start_decl() 8110 && CP_DECL_CONTEXT (decl) == current_class_type in cp_finish_decl() 10384 && CP_DECL_CONTEXT (decl) != CP_TYPE_CONTEXT (type)) in grokfndecl() 12129 cp_warn_deprecated_use_scopes (CP_DECL_CONTEXT (type)); in grokdeclarator() [all …]
|
| H A D | tree.cc | 2682 return CP_DECL_CONTEXT (ovl); in ovl_scope() 3037 r = CP_DECL_CONTEXT (r); in no_linkage_check() 3826 decl = CP_DECL_CONTEXT (TYPE_MAIN_DECL (decl)); in decl_namespace_context() 3828 decl = CP_DECL_CONTEXT (decl); in decl_namespace_context() 3844 decl = CP_DECL_CONTEXT (decl); in decl_anon_ns_mem_p()
|
| H A D | mangle.cc | 494 if (!DECL_NAMESPACE_STD_P (CP_DECL_CONTEXT (decl))) in is_std_substitution() 745 if (CP_DECL_CONTEXT (decl) != global_namespace) in unmangled_name_p() 953 tcontext = CP_DECL_CONTEXT (decl); in decl_mangling_context()
|
| H A D | module.cc | 1967 tree ctx = CP_DECL_CONTEXT (decl); in strtab_write() 3919 tree ctx = CP_DECL_CONTEXT (decl); in node_template_info() 8099 add_module_namespace_decl (CP_DECL_CONTEXT (decl), decl); in decl_value() 8381 tree ctx = CP_DECL_CONTEXT (decl); in decl_node() 8528 tree ctx = CP_DECL_CONTEXT (decl); in decl_node() 10078 tree ctx = CP_DECL_CONTEXT (decl); in get_merge_kind() 10170 tree ctx = CP_DECL_CONTEXT (decl); in get_merge_kind() 10282 container = CP_DECL_CONTEXT (decl); in decl_container() 12484 && TREE_CODE (CP_DECL_CONTEXT (decl)) == NAMESPACE_DECL in make_dependency() 12488 tree ctx = CP_DECL_CONTEXT (decl); in make_dependency() [all …]
|
| H A D | pt.cc | 403 type = CP_DECL_CONTEXT (type); in template_class_depth() 1425 template_depth = template_class_depth (CP_DECL_CONTEXT (friend_decl)); in is_specialization_of_friend() 2701 tree ctx = CP_DECL_CONTEXT (decl); in check_template_variable() 2745 CP_DECL_CONTEXT (tmpl), true)) in check_unqualified_spec_or_inst() 3021 fns = lookup_qualified_name (CP_DECL_CONTEXT (decl), dname, in check_explicit_specialization() 3028 (CP_DECL_CONTEXT (decl), dname, in check_explicit_specialization() 3152 && CP_DECL_CONTEXT (decl) == current_namespace) in check_explicit_specialization() 5554 if (TREE_CODE (CP_DECL_CONTEXT (decl)) == FUNCTION_DECL in check_default_tmpl_args() 5823 ctx = CP_DECL_CONTEXT (decl); in push_template_decl() 5824 else if (CP_DECL_CONTEXT (decl) in push_template_decl() [all …]
|
| H A D | lambda.cc | 1359 && LAMBDA_TYPE_P (CP_DECL_CONTEXT (fn))); in lambda_static_thunk_p()
|
| H A D | ChangeLog-2000 | 4472 * dump.c (dequeue_and_dump): Don't dump CP_DECL_CONTEXT twice. 6119 CP_DECL_CONTEXT. 6129 * decl.c (push_class_binding): Use CP_DECL_CONTEXT, not 6133 (decls_match): Use CP_DECL_CONTEXT, not DECL_REAL_CONTEXT. 6137 (cp_finish_decl): Use CP_DECL_CONTEXT, not DECL_REAL_CONTEXT. 6161 * dump.c (dequeue_and_dump): Use CP_DECL_CONTEXT, not 6171 (do_identifier): Use CP_DECL_CONTEXT, not DECL_REAL_CONTEXT. 6177 * pt.c (template_class_depth_real): Use CP_DECL_CONTEXT, not 6184 (check_default_tmpl_args): Use CP_DECL_CONTEXT, not 6196 (context_for_name_lookup): Use CP_DECL_CONTEXT, not
|
| H A D | constexpr.cc | 218 if (LAMBDA_TYPE_P (CP_DECL_CONTEXT (fun)) && cxx_dialect < cxx17) in is_valid_constexpr_fn() 1010 && !LAMBDA_TYPE_P (CP_DECL_CONTEXT (fun)) in explain_invalid_constexpr_fn() 1919 && CP_DECL_CONTEXT (fndecl) == global_namespace in cxx_replaceable_global_alloc_fn() 1932 && CP_DECL_CONTEXT (fndecl) == global_namespace in cxx_placement_new_fn() 2005 && CP_DECL_CONTEXT (fndecl) == global_namespace); in cxx_dynamic_cast_fn_p()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/ |
| H A D | name-lookup.c | 644 common = CP_DECL_CONTEXT (common); in queue_namespace() 689 for (; !found; scope = CP_DECL_CONTEXT (scope)) in search_unqualified() 712 pair.first = CP_DECL_CONTEXT (pair.first); in search_unqualified() 781 scope = CP_DECL_CONTEXT (scope); in adl_namespace() 817 if (CP_DECL_CONTEXT (fn) != context) in adl_class_only() 1028 tree ctx = CP_DECL_CONTEXT (arg); in adl_template_arg() 2269 && CP_DECL_CONTEXT (decl) == CP_DECL_CONTEXT (bval)) in diagnose_name_conflict() 3031 ? CP_DECL_CONTEXT (decl) : current_namespace); in do_pushdecl() 4023 descendant = CP_DECL_CONTEXT (descendant); in is_nested_namespace() 4057 child = CP_DECL_CONTEXT (child); in is_ancestor() [all …]
|
| H A D | dump.c | 136 if (TREE_CODE (CP_DECL_CONTEXT (t)) == RECORD_TYPE) in cp_dump_tree()
|
| H A D | error.c | 435 dump_scope (pp, CP_DECL_CONTEXT (decl), flags); in dump_alias_template_specialization() 740 dump_scope (pp, CP_DECL_CONTEXT (name), flags | TFF_SCOPE); in dump_aggr_type() 1055 dump_scope (pp, CP_DECL_CONTEXT (t), flags); in dump_simple_decl() 1210 dump_scope (pp, CP_DECL_CONTEXT (t), flags); in dump_decl() 1680 dump_scope (pp, CP_DECL_CONTEXT (t), flags); in dump_function_decl() 3095 && CP_DECL_CONTEXT (decl) != global_namespace))) in lang_decl_name() 3097 dump_type (cxx_pp, CP_DECL_CONTEXT (decl), TFF_PLAIN_IDENTIFIER); in lang_decl_name()
|
| H A D | decl.c | 991 if (CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl) in decls_match() 1070 && CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl) in decls_match() 1465 && CP_DECL_CONTEXT (newdecl) == global_namespace) in duplicate_decls() 1720 if (CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl)) in duplicate_decls() 1922 || CLASSTYPE_TEMPLATE_INFO (CP_DECL_CONTEXT (olddecl)))) in duplicate_decls() 5254 context = CP_DECL_CONTEXT (decl); in start_decl() 7537 && CP_DECL_CONTEXT (decl) == current_class_type in cp_finish_decl() 9762 && CP_DECL_CONTEXT (decl) != CP_TYPE_CONTEXT (type)) in grokfndecl() 11440 cp_warn_deprecated_use_scopes (CP_DECL_CONTEXT (type)); in grokdeclarator() 13907 && !TYPE_P (CP_DECL_CONTEXT (t)) in local_variable_p() [all …]
|
| H A D | tree.c | 2558 return CP_DECL_CONTEXT (ovl); in ovl_scope() 2850 r = CP_DECL_CONTEXT (r); in no_linkage_check() 3588 decl = CP_DECL_CONTEXT (TYPE_MAIN_DECL (decl)); in decl_namespace_context() 3590 decl = CP_DECL_CONTEXT (decl); in decl_namespace_context() 3606 decl = CP_DECL_CONTEXT (decl); in decl_anon_ns_mem_p()
|
| H A D | mangle.c | 496 return (DECL_NAMESPACE_STD_P (CP_DECL_CONTEXT (decl)) in is_std_substitution() 740 if (CP_DECL_CONTEXT (decl) != global_namespace) in unmangled_name_p() 891 tcontext = CP_DECL_CONTEXT (decl); in decl_mangling_context()
|
| H A D | pt.c | 396 type = CP_DECL_CONTEXT (type); in template_class_depth() 1401 template_depth = template_class_depth (CP_DECL_CONTEXT (friend_decl)); in is_specialization_of_friend() 2663 tree ctx = CP_DECL_CONTEXT (decl); in check_template_variable() 2707 CP_DECL_CONTEXT (tmpl), true)) in check_unqualified_spec_or_inst() 2980 fns = lookup_qualified_name (CP_DECL_CONTEXT (decl), dname, in check_explicit_specialization() 2985 fns = lookup_qualified_name (CP_DECL_CONTEXT (decl), dname, in check_explicit_specialization() 3107 && CP_DECL_CONTEXT (decl) == current_namespace) in check_explicit_specialization() 5412 if (TREE_CODE (CP_DECL_CONTEXT (decl)) == FUNCTION_DECL in check_default_tmpl_args() 5688 ctx = CP_DECL_CONTEXT (decl); in push_template_decl_real() 5689 else if (CP_DECL_CONTEXT (decl) in push_template_decl_real() [all …]
|
| H A D | lambda.c | 1351 && LAMBDA_TYPE_P (CP_DECL_CONTEXT (fn))); in lambda_static_thunk_p()
|
| H A D | constexpr.c | 223 if (LAMBDA_TYPE_P (CP_DECL_CONTEXT (fun)) && cxx_dialect < cxx17) in is_valid_constexpr_fn() 954 && !LAMBDA_TYPE_P (CP_DECL_CONTEXT (fun)) in explain_invalid_constexpr_fn() 1766 && CP_DECL_CONTEXT (fndecl) == global_namespace in cxx_replaceable_global_alloc_fn() 1779 && CP_DECL_CONTEXT (fndecl) == global_namespace in cxx_placement_new_fn() 1852 && CP_DECL_CONTEXT (fndecl) == global_namespace); in cxx_dynamic_cast_fn_p()
|
| H A D | decl2.c | 5449 scope = CP_DECL_CONTEXT (scope); in cp_warn_deprecated_use_scopes() 5462 decl = CP_DECL_CONTEXT (decl); in decl_dependent_p()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/objc/ |
| H A D | objc-next-runtime-abi-02.c | 3336 gcc_assert (!CP_DECL_CONTEXT (class_decl) || CP_DECL_CONTEXT (class_decl) == global_namespace); in generate_v2_class_structs() 3337 …gcc_assert (!CP_DECL_CONTEXT (metaclass_decl) || CP_DECL_CONTEXT (metaclass_decl) == global_namesp… in generate_v2_class_structs()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/objc/ |
| H A D | objc-next-runtime-abi-02.cc | 3349 gcc_assert (!CP_DECL_CONTEXT (class_decl) || CP_DECL_CONTEXT (class_decl) == global_namespace); in generate_v2_class_structs() 3350 …gcc_assert (!CP_DECL_CONTEXT (metaclass_decl) || CP_DECL_CONTEXT (metaclass_decl) == global_namesp… in generate_v2_class_structs()
|