Home
last modified time | relevance | path

Searched refs:current_scope (Results 1 – 19 of 19) sorted by relevance

/openbsd-src/gnu/gcc/gcc/
H A Dc-decl.c218 #define B_IN_CURRENT_SCOPE(b) ((b)->depth == current_scope->depth)
355 static GTY(()) struct c_scope *current_scope; variable
582 return current_scope; in objc_get_current_scope()
594 for (scope = current_scope; in objc_mark_locals_volatile()
612 return current_scope == file_scope && !c_override_global_bindings_to_false; in global_bindings_p()
626 current_scope->parm_flag = true; in declare_parm_level()
644 current_scope->parm_flag = false; in push_scope()
645 current_scope->function_body = true; in push_scope()
646 current_scope->keep = true; in push_scope()
647 current_scope->outer_function = current_function_scope; in push_scope()
[all …]
/openbsd-src/gnu/gcc/gcc/cp/
H A Dsearch.c499 current_scope (void) in current_scope() function
538 tree cs = current_scope (); in at_function_scope_p()
547 tree cs = current_scope (); in at_class_scope_p()
556 tree cs = current_scope (); in at_namespace_scope_p()
834 tree scope = current_scope (); in dfs_accessible_post()
868 scope = current_scope (); in accessible_p()
1743 scope = current_scope (); in dfs_walk_once_accessible_r()
H A Dname-lookup.c2237 cp_emit_debug_info_for_using (orig_decl, current_scope()); in do_local_using_decl()
2362 tree outer = current_scope (); in push_inner_scope()
3195 DECL_CONTEXT (alias) = FROB_CONTEXT (current_scope ()); in do_namespace_alias()
3347 context = current_scope (); in do_using_directive()
4837 tree cs = current_scope (); in pushtag()
H A Dcp-tree.h2939 (processing_template_decl > template_class_depth (current_scope ()))
4201 extern tree current_scope (void);
H A Ddecl.c3723 || current_scope () != current_class_type)) in check_tag_decl()
6397 scope = current_scope (); in grokvardecl()
10403 context = current_scope (); in build_enumerator()
H A DChangeLog-2004942 * search.c (current_scope): Fix prototype.
945 * search.c (current_scope): Return the innermost non-block scope,
950 * decl.c (grokvardecl): Adjust call to current_scope.
954 current_scope.
955 (cp_parser_class_head): Adjust call to current_scope.
H A Dpt.c544 tree scope = current_scope (); in check_specialization_scope()
3061 ctx = current_scope (); in push_template_decl_real()
H A DChangeLog-19943289 (build_enumerator): Use enum_overflow. Also use current_scope().
3291 * search.c (current_scope): Move Brendan's comment from
5077 * search.c (current_scope): New function; returns whichever of
H A Dparser.c13465 scope = current_scope (); in cp_parser_class_head()
H A DChangeLog-20032678 * cp-tree.h (PROCESSING_REAL_TEMPLATE_DECL_P): Use current_scope.
H A DChangeLog-20006195 * search.c (current_scope): Adjust for new _CONTEXT macros.
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/
H A Dsearch.c574 current_scope () in current_scope() function
598 tree cs = current_scope (); in at_function_scope_p()
607 tree cs = current_scope (); in at_class_scope_p()
849 current_scope ()))
870 && is_friend (BINFO_TYPE (binfo), current_scope ()))
1090 protected_ok = friend_accessible_p (current_scope (), decl, binfo);
H A Dsemantics.c1927 if (current_scope () == current_function_decl)
1939 if (current_scope () == current_function_decl) in begin_inline_definitions()
H A Ddecl2.c4913 tree current = current_scope ();
5058 current = current_scope ();
H A Dcp-tree.h2967 (processing_template_decl > template_class_depth (current_scope ()))
4160 extern tree current_scope PARAMS ((void));
H A Ddecl.c3018 tree cs = current_scope ();
7535 || current_scope () != current_class_type)
9968 scope = current_scope ();
14200 context = current_scope ();
H A Dpt.c679 tree scope = current_scope (); in check_specialization_scope()
2730 ctx = current_scope ();
H A DChangeLog.16729 (build_enumerator): Use enum_overflow. Also use current_scope().
6731 * search.c (current_scope): Move Brendan's comment from
8517 * search.c (current_scope): New function; returns whichever of
H A DChangeLog673 * cp-tree.h (PROCESSING_REAL_TEMPLATE_DECL_P): Use current_scope.
16067 * search.c (current_scope): Adjust for new _CONTEXT macros.