aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-09-16 14:16:42 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-09-16 14:16:42 +0000
commit9c763d1957c4c86fb0d299c71c44f70962959a15 (patch)
treed5bd05c2fd7a4b7caec5afa6f67ff2ad5ef72f9b /gcc/cp
parent8210e4c42d6283b2ed06c6861c91ca8235825a24 (diff)
downloadgcc-9c763d1957c4c86fb0d299c71c44f70962959a15.zip
gcc-9c763d1957c4c86fb0d299c71c44f70962959a15.tar.gz
gcc-9c763d1957c4c86fb0d299c71c44f70962959a15.tar.bz2
* search.c: Follow spelling conventions.
From-SVN: r87600
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/search.c12
2 files changed, 10 insertions, 6 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 2be3707..f940577 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-16 Kazu Hirata <kazu@cs.umass.edu>
+
+ * search.c: Follow spelling conventions.
+
2004-09-15 Mark Mitchell <mark@codesourcery.com>
* cp-objcp-common.h (LANG_HOOKS_COMDAT_GROUP): Define.
diff --git a/gcc/cp/search.c b/gcc/cp/search.c
index c68fc3c..42adbec 100644
--- a/gcc/cp/search.c
+++ b/gcc/cp/search.c
@@ -2042,15 +2042,15 @@ reinit_search_statistics (void)
}
/* Helper for lookup_conversions_r. TO_TYPE is the type converted to
- by a conversion op in base BINFO. VIRTUAL_DEPTH is non-zero if
- BINFO is morally virtual, and VIRTUALNESS is non-zero if virtual
+ by a conversion op in base BINFO. VIRTUAL_DEPTH is nonzero if
+ BINFO is morally virtual, and VIRTUALNESS is nonzero if virtual
bases have been encountered already in the tree walk. PARENT_CONVS
is the list of lists of conversion functions that could hide CONV
and OTHER_CONVS is the list of lists of conversion functions that
could hide or be hidden by CONV, should virtualness be involved in
the hierarchy. Merely checking the conversion op's name is not
enough because two conversion operators to the same type can have
- different names. Return non-zero if we are visible. */
+ different names. Return nonzero if we are visible. */
static int
check_hidden_convs (tree binfo, int virtual_depth, int virtualness,
@@ -2154,13 +2154,13 @@ split_conversions (tree my_convs, tree parent_convs,
}
/* Worker for lookup_conversions. Lookup conversion functions in
- BINFO and its children. VIRTUAL_DEPTH is non-zero, if BINFO is in
- a morally virtual base, and VIRTUALNESS is non-zero, if we've
+ BINFO and its children. VIRTUAL_DEPTH is nonzero, if BINFO is in
+ a morally virtual base, and VIRTUALNESS is nonzero, if we've
encountered virtual bases already in the tree walk. PARENT_CONVS &
PARENT_TPL_CONVS are lists of list of conversions within parent
binfos. OTHER_CONVS and OTHER_TPL_CONVS are conversions found
elsewhere in the tree. Return the conversions found within this
- portion of the graph in CONVS and TPL_CONVS. Return non-zero is we
+ portion of the graph in CONVS and TPL_CONVS. Return nonzero is we
encountered virtualness. We keep template and non-template
conversions separate, to avoid unnecessary type comparisons.