aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/search.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2002-09-14 12:07:44 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-09-14 12:07:44 +0000
commitc60026252860eef665bc52174dac66d3426145ca (patch)
treed8c275dbb5dddaf876a0d0ccf175cf047cd053ef /gcc/cp/search.c
parentf197f1cff92d00c23110d3acc7467b98224fa90b (diff)
downloadgcc-c60026252860eef665bc52174dac66d3426145ca.zip
gcc-c60026252860eef665bc52174dac66d3426145ca.tar.gz
gcc-c60026252860eef665bc52174dac66d3426145ca.tar.bz2
error.c: Fix comment formatting.
* error.c: Fix comment formatting. * except.c: Likewise. * expr.c: Likewise. * friend.c: Likewise. * g++spec.c: Likewise. * init.c: Likewise. * lex.c: Likewise. * mangle.c: Likewise. * method.c: Likewise. * optimize.c: Likewise. * pt.c: Likewise. * rtti.c: Likewise. * search.c: Likewise. * semantics.c: Likewise. * spew.c: Likewise. * tree.c: Likewise. * typeck.c: Likewise. * typeck2.c: Likewise. From-SVN: r57138
Diffstat (limited to 'gcc/cp/search.c')
-rw-r--r--gcc/cp/search.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cp/search.c b/gcc/cp/search.c
index e4e8baa..41bde71 100644
--- a/gcc/cp/search.c
+++ b/gcc/cp/search.c
@@ -204,7 +204,7 @@ lookup_base_r (binfo, base, access, within_current_scope,
if (same_type_p (BINFO_TYPE (binfo), base))
{
/* We have found a base. Check against what we have found
- already. */
+ already. */
found = bk_same_type;
if (is_virtual)
found = bk_via_virtual;
@@ -311,7 +311,7 @@ lookup_base (t, base, access, kind_ptr)
base_access access;
base_kind *kind_ptr;
{
- tree binfo = NULL; /* The binfo we've found so far. */
+ tree binfo = NULL; /* The binfo we've found so far. */
tree t_binfo = NULL;
base_kind bk;
@@ -1995,7 +1995,7 @@ look_for_overrides_here (type, fndecl)
}
/* Look in TYPE for virtual functions overridden by FNDECL. Check both
- TYPE itself and its bases. */
+ TYPE itself and its bases. */
static int
look_for_overrides_r (type, fndecl)
@@ -2795,7 +2795,7 @@ binfo_for_vtable (var)
}
/* If no secondary base classes matched, return the primary base, if
- there is one. */
+ there is one. */
if (CLASSTYPE_HAS_PRIMARY_BASE_P (BINFO_TYPE (main_binfo)))
return get_primary_binfo (main_binfo);