Searched refs:CP_DECL_CONTEXT (Results 1 – 16 of 16) sorted by relevance
| /freebsd-9-stable/contrib/gcc/cp/ |
| D | mangle.c | 458 return (DECL_NAMESPACE_STD_P (CP_DECL_CONTEXT (decl)) in is_std_substitution() 693 && (CP_DECL_CONTEXT (decl) == global_namespace in write_mangled_name() 797 context = (DECL_CONTEXT (decl) == NULL) ? NULL : CP_DECL_CONTEXT (decl); in write_name() 850 context = CP_DECL_CONTEXT (context); in write_name() 867 tree context = CP_DECL_CONTEXT (decl); in write_unscoped_name() 1005 write_prefix (CP_DECL_CONTEXT (decl)); in write_prefix() 1021 tree context = CP_DECL_CONTEXT (decl); in write_template_prefix()
|
| D | name-lookup.c | 754 add_decl_to_level (x, NAMESPACE_LEVEL (CP_DECL_CONTEXT (t))); in pushdecl_maybe_friend() 998 ? NAMESPACE_LEVEL (CP_DECL_CONTEXT (x)) in pushdecl_maybe_friend() 2327 prev = CP_DECL_CONTEXT (TREE_CODE (inner) == NAMESPACE_DECL ? inner : TYPE_NAME (inner)); in push_inner_scope_r() 2416 inner = CP_DECL_CONTEXT (TREE_CODE (inner) == NAMESPACE_DECL ? inner : TYPE_NAME (inner)); in pop_inner_scope() 2488 context = CP_DECL_CONTEXT (OVL_CURRENT (decl)); in set_inherited_value_binding_p() 2950 if (!is_associated_namespace (scope, CP_DECL_CONTEXT (fn))) in set_decl_namespace() 3121 current_namespace = CP_DECL_CONTEXT (current_namespace); in pop_namespace() 3136 push_nested_namespace (CP_DECL_CONTEXT (ns)); in push_nested_namespace() 3151 ns = CP_DECL_CONTEXT (ns); in pop_nested_namespace() 3187 namespace_ancestor (CP_DECL_CONTEXT (ns1), ns2)); in namespace_ancestor() [all …]
|
| D | error.c | 448 dump_scope (CP_DECL_CONTEXT (name), flags | TFF_SCOPE); in dump_aggr_type() 702 dump_scope (CP_DECL_CONTEXT (t), flags); in dump_simple_decl() 764 dump_scope (CP_DECL_CONTEXT (t), flags); in dump_decl() 1047 dump_scope (CP_DECL_CONTEXT (t), flags); in dump_function_decl() 1984 dump_type (CP_DECL_CONTEXT (decl), TFF_PLAIN_IDENTIFIER); in lang_decl_name()
|
| D | dump.c | 292 if (TREE_CODE (CP_DECL_CONTEXT (t)) == RECORD_TYPE) in cp_dump_tree()
|
| D | decl.c | 947 if (CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl) in decls_match() 1010 && CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl) in decls_match() 1341 if (CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl)) in duplicate_decls() 5213 && CP_DECL_CONTEXT (decl) == current_class_type in cp_finish_decl() 8861 && !TYPE_P (CP_DECL_CONTEXT (t)) in local_variable_p() 9340 if (CP_DECL_CONTEXT (decl) != global_namespace) in grok_op_properties()
|
| D | tree.c | 1391 decl = CP_DECL_CONTEXT (TYPE_MAIN_DECL (decl)); in decl_namespace_context() 1393 decl = CP_DECL_CONTEXT (decl); in decl_namespace_context()
|
| D | pt.c | 281 ? CP_DECL_CONTEXT (type) : TYPE_CONTEXT (type)) in template_class_depth() 1972 fns = lookup_qualified_name (CP_DECL_CONTEXT (decl), dname, in check_explicit_specialization() 1982 if (!is_associated_namespace (CP_DECL_CONTEXT (decl), in check_explicit_specialization() 1983 CP_DECL_CONTEXT (fn))) in check_explicit_specialization() 2865 if (TREE_CODE (CP_DECL_CONTEXT (decl)) == FUNCTION_DECL) in check_default_tmpl_args() 3053 else if (CP_DECL_CONTEXT (decl) in push_template_decl_real() 3054 && TREE_CODE (CP_DECL_CONTEXT (decl)) != NAMESPACE_DECL) in push_template_decl_real() 3057 ctx = CP_DECL_CONTEXT (decl); in push_template_decl_real() 4774 && TREE_CODE (CP_DECL_CONTEXT (template)) == NAMESPACE_DECL) in lookup_template_class() 13219 if (TYPE_P (CP_DECL_CONTEXT (tmpl))) in dependent_template_p()
|
| D | cp-tree.h | 1968 #define CP_DECL_CONTEXT(NODE) \ macro 1977 && TREE_CODE (CP_DECL_CONTEXT (NODE)) == NAMESPACE_DECL) 2039 && CP_DECL_CONTEXT (NODE) == global_namespace \
|
| D | semantics.c | 3731 else if (TREE_STATIC (v) && TYPE_P (CP_DECL_CONTEXT (v))) in finish_omp_threadprivate() 3961 tree ctx = CP_DECL_CONTEXT (decl); in cxx_omp_predetermined_sharing()
|
| 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
|
| D | ChangeLog-1998 | 2205 * error.c (dump_decl): Use CP_DECL_CONTEXT, not DECL_CONTEXT, when 3090 (unqualified_namespace_lookup): Use CP_DECL_CONTEXT. 3229 * decl2.c (namespace_ancestor): Use CP_DECL_CONTEXT. 3286 (lookup_tag): Use CP_DECL_CONTEXT to iterate. 3417 * decl.c (lookup_tag): Use CP_DECL_CONTEXT. 3481 * cp-tree.h (CP_DECL_CONTEXT): New macro.
|
| D | parser.c | 9245 tree scope = CP_DECL_CONTEXT (get_first_fn (decl)); in cp_parser_template_name() 13240 scope = CP_DECL_CONTEXT (TYPE_MAIN_DECL (type)); in cp_parser_class_specifier()
|
| D | ChangeLog | 3444 * pt.c (check_explicit_specialization): Use CP_DECL_CONTEXT even more. 3446 * name-lookup.c (set_decl_namespace): Use CP_DECL_CONTEXT.
|
| D | ChangeLog-2001 | 3359 of CP_DECL_CONTEXT.
|
| D | ChangeLog-2003 | 3717 it to CP_DECL_CONTEXT.
|
| D | ChangeLog-1999 | 4686 * method.c (bulid_overload_identifier): Use CP_DECL_CONTEXT, not
|