Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/c/
H A Dc-decl.c204 #define B_IN_CURRENT_SCOPE(b) ((b)->depth == current_scope->depth)
487 static GTY(()) struct c_scope *current_scope; variable
893 p->scope = current_scope; in set_spot_bindings()
894 p->bindings_in_scope = current_scope->bindings; in set_spot_bindings()
932 return current_scope; in objc_get_current_scope()
944 for (scope = current_scope; in objc_mark_locals_volatile()
962 return current_scope == file_scope; in global_bindings_p()
973 return (current_scope->parm_flag && !DECL_SAVED_TREE (current_function_decl)); in old_style_parameter_scope()
987 current_scope->float_const_decimal64 = true; in set_float_const_decimal64()
995 current_scope->float_const_decimal64 = false; in clear_float_const_decimal64()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/c/
H A Dc-decl.cc213 #define B_IN_CURRENT_SCOPE(b) ((b)->depth == current_scope->depth)
496 static GTY(()) struct c_scope *current_scope; variable
902 p->scope = current_scope; in set_spot_bindings()
903 p->bindings_in_scope = current_scope->bindings; in set_spot_bindings()
941 return current_scope; in objc_get_current_scope()
953 for (scope = current_scope; in objc_mark_locals_volatile()
971 return current_scope == file_scope; in global_bindings_p()
982 return (current_scope->parm_flag && !DECL_SAVED_TREE (current_function_decl)); in old_style_parameter_scope()
996 current_scope->float_const_decimal64 = true; in set_float_const_decimal64()
1004 current_scope->float_const_decimal64 = false; in clear_float_const_decimal64()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dsearch.cc397 current_scope (void) in current_scope() function
439 tree cs = current_scope (); in at_function_scope_p()
452 tree cs = current_scope (); in at_class_scope_p()
461 tree cs = current_scope (); in at_namespace_scope_p()
1608 scope = current_scope (); in dfs_walk_once_accessible_r()
H A Dlambda.cc1010 tree scope = current_scope (); in current_nonlambda_scope()
H A Dname-lookup.cc5108 tree outer = current_scope (); in push_inner_scope()
5528 tree current = current_scope (); in lookup_using_decl()
6106 DECL_CONTEXT (alias) = FROB_CONTEXT (current_scope ()); in do_namespace_alias()
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 Ddecl.cc5387 || current_scope () != current_class_type)) in check_tag_decl()
10119 bool block_local = TREE_CODE (current_scope ()) == FUNCTION_DECL; in grokfndecl()
10693 scope = current_scope (); in grokvardecl()
16781 context = current_scope (); in build_enumerator()
H A Dpt.cc734 tree scope = current_scope (); in check_specialization_scope()
842 if (current_scope() != DECL_CONTEXT (tmpl) in check_specialization_namespace()
5832 ctx = current_scope (); in push_template_decl()
6170 DECL_CHAIN (tmpl) = current_scope (); in push_template_decl()
29049 if (TYPE_P (current_scope()) || !DECL_NAMESPACE_SCOPE_P (current_scope ())) in finish_concept_definition()
29063 DECL_CONTEXT (decl) = current_scope (); in finish_concept_definition()
H A Dcp-tree.h5177 && current_template_depth > template_class_depth (current_scope ()))
7503 extern tree current_scope (void);
H A Dclass.cc400 && current_scope () != current_function_decl) in build_base_path()
7947 if (current_scope () != current_function_decl in fixed_type_or_null()
H A Dcoroutines.cc4462 DECL_CONTEXT (TYPE_NAME (coro_frame_type)) = current_scope (); in morph_fn_to_coro()
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 Dmodule.cc18658 gcc_assert (global_namespace == current_scope () && loadedness == ML_NONE); in do_import()
18956 gcc_assert (global_namespace == current_scope ()); in declare_module()
H A Dsemantics.cc348 tree cs = current_scope (); in enforce_access()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dsearch.c362 current_scope (void) in current_scope() function
404 tree cs = current_scope (); in at_function_scope_p()
417 tree cs = current_scope (); in at_class_scope_p()
426 tree cs = current_scope (); in at_namespace_scope_p()
1592 scope = current_scope (); in dfs_walk_once_accessible_r()
H A Dlambda.c1011 tree scope = current_scope (); in current_nonlambda_scope()
H A Dname-lookup.c4163 tree outer = current_scope (); in push_inner_scope()
4614 tree current = current_scope (); in lookup_using_decl()
5071 DECL_CONTEXT (alias) = FROB_CONTEXT (current_scope ()); in do_namespace_alias()
H A Dcoroutines.cc4420 DECL_CONTEXT (TYPE_NAME (coro_frame_type)) = current_scope (); in morph_fn_to_coro()
5132 DECL_CONTEXT (gro) = current_scope (); in morph_fn_to_coro()
H A Dcp-tree.h4928 && processing_template_decl > template_class_depth (current_scope ()))
7099 extern tree current_scope (void);
H A Dpt.c717 tree scope = current_scope (); in check_specialization_scope()
825 if (current_scope() != DECL_CONTEXT (tmpl) in check_specialization_namespace()
5697 ctx = current_scope (); in push_template_decl_real()
28097 if (TYPE_P (current_scope()) || !DECL_NAMESPACE_SCOPE_P (current_scope ())) in finish_concept_definition()
28105 DECL_CONTEXT (decl) = current_scope (); in finish_concept_definition()
H A Dclass.c389 && current_scope () != current_function_decl) in build_base_path()
7844 if (current_scope () != current_function_decl in fixed_type_or_null()
H A Ddecl.c5057 || current_scope () != current_class_type)) in check_tag_decl()
10062 scope = current_scope (); in grokvardecl()
15957 context = current_scope (); in build_enumerator()
H A Dsemantics.c2010 tree cs = current_scope (); in add_typedef_to_current_template_for_access_check()
/netbsd-src/external/gpl3/gcc.old/dist/libcc1/
H A Dlibcp1plugin.cc273 && current_scope () == current_function_decl; in at_fake_function_scope_p()
837 gcc_assert (TYPE_CONTEXT (type) == FROB_CONTEXT (current_scope ())); in plugin_push_class()
850 gcc_assert (DECL_CONTEXT (fndecl) == FROB_CONTEXT (current_scope ())); in plugin_push_function()
/netbsd-src/external/gpl3/gcc/dist/libcc1/
H A Dlibcp1plugin.cc118 && current_scope () == current_function_decl; in at_fake_function_scope_p()
681 gcc_assert (TYPE_CONTEXT (type) == FROB_CONTEXT (current_scope ())); in plugin_push_class()
694 gcc_assert (DECL_CONTEXT (fndecl) == FROB_CONTEXT (current_scope ())); in plugin_push_function()

12