aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/search.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-08 14:48:02 +0000
committerKazu Hirata <kazu@cs.umass.edu>2004-11-08 14:48:02 +0000
commit6898fc54d88277229a93c79e9805c5eca6ca0282 (patch)
treee9fb98404f857d20d8698ebaf018a3542d0aea64 /gcc/cp/search.c
parentdfe9557679f0232dff70d3a83d6b518a8c220e16 (diff)
* class.c, decl.c, lex.c, name-lookup.c, parser.c, pt.c,
search.c, typeck2.c: Fix comment formatting. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@90265 138bc75d-0d04-0410-961f-82ee72b054a4
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 9e6178ea286..635beeaef97 100644
--- a/gcc/cp/search.c
+++ b/gcc/cp/search.c
@@ -82,7 +82,7 @@ static int n_contexts_saved;
struct lookup_base_data_s
{
- tree t; /* type being searched. */
+ tree t; /* type being searched. */
tree base; /* The base type we're looking for. */
tree binfo; /* Found binfo. */
bool via_virtual; /* Found via a virtual path. */
@@ -851,7 +851,7 @@ dfs_accessible_post (tree binfo, void *data ATTRIBUTE_UNUSED)
then we can tell in what context the access is occurring by looking
at the most derived class along the path indicated by BINFO. If
CONSIDER_LOCAL is true, do consider special access the current
- scope or friendship thereof we might have. */
+ scope or friendship thereof we might have. */
int
accessible_p (tree type, tree decl, bool consider_local_p)
@@ -2150,7 +2150,7 @@ check_hidden_convs (tree binfo, int virtual_depth, int virtualness,
tree *prev, other;
if (!(virtual_depth || TREE_STATIC (level)))
- /* Neither is morally virtual, so cannot hide each other. */
+ /* Neither is morally virtual, so cannot hide each other. */
continue;
if (!TREE_VALUE (level))
@@ -2171,7 +2171,7 @@ check_hidden_convs (tree binfo, int virtual_depth, int virtualness,
if (same_type_p (to_type, TREE_TYPE (other)))
{
if (they_hide_us)
- /* We are hidden. */
+ /* We are hidden. */
return 0;
if (we_hide_them)