+2004-01-04 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * semantics.c (push_deferring_access_checks): Fix format.
+ (resume_deferring_access_checks): Likewise.
+ (stop_deferring_access_checks): Likewise.
+ (pop_deferring_access_checks): Likewise.
+ (get_deferred_access_checks): Likewise.
+ (pop_to_parent_deferring_access_checks): Likewise.
+ (perform_deferred_access_checks): Likewise.
+ (perform_or_defer_access_check): Likewise.
+
2004-01-04 Richard Henderson <rth@redhat.com>
* call.c (build_over_call): Don't create a save_expr of an
and during the instantiation of template functions.
Copyright (C) 1998, 1999, 2000, 2001, 2002,
- 2003 Free Software Foundation, Inc.
+ 2003, 2004 Free Software Foundation, Inc.
Written by Mark Mitchell (mmitchell@usa.net) based on code found
formerly in parse.y and pt.c.
/* Save the current deferred access states and start deferred
access checking iff DEFER_P is true. */
-void push_deferring_access_checks (deferring_kind deferring)
+void
+push_deferring_access_checks (deferring_kind deferring)
{
deferred_access *d;
/* Resume deferring access checks again after we stopped doing
this previously. */
-void resume_deferring_access_checks (void)
+void
+resume_deferring_access_checks (void)
{
if (deferred_access_stack->deferring_access_checks_kind == dk_no_deferred)
deferred_access_stack->deferring_access_checks_kind = dk_deferred;
/* Stop deferring access checks. */
-void stop_deferring_access_checks (void)
+void
+stop_deferring_access_checks (void)
{
if (deferred_access_stack->deferring_access_checks_kind == dk_deferred)
deferred_access_stack->deferring_access_checks_kind = dk_no_deferred;
/* Discard the current deferred access checks and restore the
previous states. */
-void pop_deferring_access_checks (void)
+void
+pop_deferring_access_checks (void)
{
deferred_access *d = deferred_access_stack;
deferred_access_stack = d->next;
access occurred; the TREE_VALUE is the declaration named.
*/
-tree get_deferred_access_checks (void)
+tree
+get_deferred_access_checks (void)
{
return deferred_access_stack->deferred_access_checks;
}
previous states if we also defer checks previously.
Otherwise perform checks now. */
-void pop_to_parent_deferring_access_checks (void)
+void
+pop_to_parent_deferring_access_checks (void)
{
tree deferred_check = get_deferred_access_checks ();
deferred_access *d1 = deferred_access_stack;
We have to perform deferred access of `A::X', first with `A::a',
next with `x'. */
-void perform_deferred_access_checks (void)
+void
+perform_deferred_access_checks (void)
{
tree deferred_check;
for (deferred_check = deferred_access_stack->deferred_access_checks;
/* Defer checking the accessibility of DECL, when looked up in
BINFO. */
-void perform_or_defer_access_check (tree binfo, tree decl)
+void
+perform_or_defer_access_check (tree binfo, tree decl)
{
tree check;