Lines Matching defs:scope

263    is the BINFO indicating the qualifying scope used to access the
445 /* Finish a scope. */
466 /* Begin a new scope. */
478 when the current scope is exited. EH_ONLY is true when this is not
635 tree r, scope;
636 scope = do_pushlevel (sk_block);
638 TREE_CHAIN (r) = scope;
686 tree scope = TREE_CHAIN (if_stmt);
688 add_stmt (do_poplevel (scope));
871 /* Pop the scope for the body of the loop. */
874 tree scope = TREE_CHAIN (for_stmt);
876 add_stmt (do_poplevel (scope));
904 tree r, scope;
908 scope = do_pushlevel (sk_block);
909 TREE_CHAIN (r) = scope;
967 tree scope;
974 scope = TREE_CHAIN (switch_stmt);
976 add_stmt (do_poplevel (scope));
992 *COMPOUND_STMT is an artificial outer scope, containing the
999 /* This outer scope does not exist in the C++ standard, but we need
1123 does not define a scope. If BCS_FN_BODY is set, this is the outermost
1317 to declare "local" labels, i.e., labels with scope. This extension
1332 /* When DECL goes out of scope, make sure that CLEANUP is executed. */
1340 /* If the current scope exits with an exception, run CLEANUP. */
1482 tree scope;
1490 scope = context_for_name_lookup (decl);
1492 if (!TYPE_P (scope))
1494 /* Compute the scope through which DECL is being accessed. */
1505 && DERIVED_FROM_P (scope, object_type))
1516 && DERIVED_FROM_P (scope, current_class_type))
1526 qualifying_type = currently_open_derived_class (scope);
1575 /* Within the scope of a class, turn references to non-static
1740 /* A call to a namespace-scope function using an unqualified name.
1808 If the keyword this is in scope and refers to the class of
1862 /* A call to a namespace-scope function. */
1940 finish_pseudo_destructor_expr (tree object, tree scope, tree destructor)
1949 if (scope == error_mark_node)
1951 error ("invalid qualifying scope in pseudo-destructor name");
1954 if (scope && TYPE_P (scope) && !check_dtor_name (scope, destructor))
1957 scope, destructor);
1983 return build3 (PSEUDO_DTOR_EXPR, void_type_node, object, scope, destructor);
2085 /* Do file scope __FUNCTION__ et al. */
2211 /* Make a declaration for this class in its own scope. */
2271 /* Enter the DECL into the scope of the class. */
2342 the scope of template-id indicated. */
2396 qualified_name_lookup_error (tree scope, tree name, tree decl)
2398 if (scope == error_mark_node)
2400 else if (TYPE_P (scope))
2402 if (!COMPLETE_TYPE_P (scope))
2403 error ("incomplete type %qT used in nested name specifier", scope);
2406 error ("reference to %<%T::%D%> is ambiguous", scope, name);
2410 error ("%qD is not a member of %qT", name, scope);
2412 else if (scope != global_namespace)
2413 error ("%qD is not a member of %qD", name, scope);
2484 tree scope,
2513 if (scope
2514 && (!TYPE_P (scope)
2515 || (!dependent_type_p (scope)
2523 qualified_name_lookup_error (scope, id_expression, decl);
2526 else if (!scope)
2535 /* If DECL is a variable that would be out of scope under
2536 ANSI/ISO rules, but in scope in the ARM, name lookup
2545 if (!scope && decl != error_mark_node)
2622 *idk = (scope
2697 /* Create a SCOPE_REF for qualified names, if the scope is
2699 if (scope)
2706 if (TYPE_P (scope))
2709 decl = finish_qualified_id_expr (scope, decl,
2713 else if (dependent_type_p (scope))
2715 scope,
2720 scope,
2797 if (scope)
2800 (decl, scope, current_class_type));
2806 decl = finish_qualified_id_expr (scope,
2816 if (processing_template_decl && TYPE_P (scope))
2818 scope, decl,
3708 "or block scope variable", v);
3779 sk_omp scope. */