Searched refs:CP_DECL_CONTEXT (Results 1 – 16 of 16) sorted by relevance
| /trueos/contrib/gcc/cp/ |
| HD | 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()
|
| HD | name-lookup.c | 774 add_decl_to_level (x, NAMESPACE_LEVEL (CP_DECL_CONTEXT (t))); in pushdecl_maybe_friend() 1018 ? NAMESPACE_LEVEL (CP_DECL_CONTEXT (x)) in pushdecl_maybe_friend() 2349 prev = CP_DECL_CONTEXT (TREE_CODE (inner) == NAMESPACE_DECL ? inner : TYPE_NAME (inner)); in push_inner_scope_r() 2438 inner = CP_DECL_CONTEXT (TREE_CODE (inner) == NAMESPACE_DECL ? inner : TYPE_NAME (inner)); in pop_inner_scope() 2510 context = CP_DECL_CONTEXT (OVL_CURRENT (decl)); in set_inherited_value_binding_p() 2972 if (!is_associated_namespace (scope, CP_DECL_CONTEXT (fn))) in set_decl_namespace() 3139 current_namespace = CP_DECL_CONTEXT (current_namespace); in pop_namespace() 3154 push_nested_namespace (CP_DECL_CONTEXT (ns)); in push_nested_namespace() 3169 ns = CP_DECL_CONTEXT (ns); in pop_nested_namespace() 3205 namespace_ancestor (CP_DECL_CONTEXT (ns1), ns2)); in namespace_ancestor() [all …]
|
| HD | error.c | 450 dump_scope (CP_DECL_CONTEXT (name), flags | TFF_SCOPE); in dump_aggr_type() 711 dump_scope (CP_DECL_CONTEXT (t), flags); in dump_simple_decl() 773 dump_scope (CP_DECL_CONTEXT (t), flags); in dump_decl() 1056 dump_scope (CP_DECL_CONTEXT (t), flags); in dump_function_decl() 1993 dump_type (CP_DECL_CONTEXT (decl), TFF_PLAIN_IDENTIFIER); in lang_decl_name()
|
| HD | dump.c | 292 if (TREE_CODE (CP_DECL_CONTEXT (t)) == RECORD_TYPE) in cp_dump_tree()
|
| HD | decl.c | 948 if (CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl) in decls_match() 1011 && CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl) in decls_match() 1342 if (CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl)) in duplicate_decls() 5599 && CP_DECL_CONTEXT (decl) == current_class_type in cp_finish_decl() 9329 && !TYPE_P (CP_DECL_CONTEXT (t)) in local_variable_p() 9809 if (CP_DECL_CONTEXT (decl) != global_namespace) in grok_op_properties()
|
| HD | 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()
|
| HD | 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() 13224 if (TYPE_P (CP_DECL_CONTEXT (tmpl))) in dependent_template_p()
|
| HD | cp-tree.h | 1977 #define CP_DECL_CONTEXT(NODE) \ macro 1986 && TREE_CODE (CP_DECL_CONTEXT (NODE)) == NAMESPACE_DECL) 2048 && CP_DECL_CONTEXT (NODE) == global_namespace \
|
| HD | semantics.c | 3866 else if (TREE_STATIC (v) && TYPE_P (CP_DECL_CONTEXT (v))) in finish_omp_threadprivate() 4096 tree ctx = CP_DECL_CONTEXT (decl); in cxx_omp_predetermined_sharing()
|
| HD | 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
|
| HD | 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.
|
| HD | parser.c | 9579 tree scope = CP_DECL_CONTEXT (get_first_fn (decl)); in cp_parser_template_name() 13659 scope = CP_DECL_CONTEXT (TYPE_MAIN_DECL (type)); in cp_parser_class_specifier()
|
| HD | ChangeLog | 3444 * pt.c (check_explicit_specialization): Use CP_DECL_CONTEXT even more. 3446 * name-lookup.c (set_decl_namespace): Use CP_DECL_CONTEXT.
|
| HD | ChangeLog-2001 | 3359 of CP_DECL_CONTEXT.
|
| HD | ChangeLog-2003 | 3717 it to CP_DECL_CONTEXT.
|
| HD | ChangeLog-1999 | 4686 * method.c (bulid_overload_identifier): Use CP_DECL_CONTEXT, not
|