Commit 9c763d19 by Kazu Hirata Committed by Kazu Hirata

* search.c: Follow spelling conventions.

From-SVN: r87600
parent 8210e4c4
2004-09-16 Kazu Hirata <kazu@cs.umass.edu>
* search.c: Follow spelling conventions.
2004-09-15 Mark Mitchell <mark@codesourcery.com> 2004-09-15 Mark Mitchell <mark@codesourcery.com>
* cp-objcp-common.h (LANG_HOOKS_COMDAT_GROUP): Define. * cp-objcp-common.h (LANG_HOOKS_COMDAT_GROUP): Define.
......
...@@ -2042,15 +2042,15 @@ reinit_search_statistics (void) ...@@ -2042,15 +2042,15 @@ reinit_search_statistics (void)
} }
/* Helper for lookup_conversions_r. TO_TYPE is the type converted to /* 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 by a conversion op in base BINFO. VIRTUAL_DEPTH is nonzero if
BINFO is morally virtual, and VIRTUALNESS is non-zero if virtual BINFO is morally virtual, and VIRTUALNESS is nonzero if virtual
bases have been encountered already in the tree walk. PARENT_CONVS bases have been encountered already in the tree walk. PARENT_CONVS
is the list of lists of conversion functions that could hide CONV is the list of lists of conversion functions that could hide CONV
and OTHER_CONVS is the list of lists of conversion functions that and OTHER_CONVS is the list of lists of conversion functions that
could hide or be hidden by CONV, should virtualness be involved in could hide or be hidden by CONV, should virtualness be involved in
the hierarchy. Merely checking the conversion op's name is not the hierarchy. Merely checking the conversion op's name is not
enough because two conversion operators to the same type can have 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 static int
check_hidden_convs (tree binfo, int virtual_depth, int virtualness, check_hidden_convs (tree binfo, int virtual_depth, int virtualness,
...@@ -2154,13 +2154,13 @@ split_conversions (tree my_convs, tree parent_convs, ...@@ -2154,13 +2154,13 @@ split_conversions (tree my_convs, tree parent_convs,
} }
/* Worker for lookup_conversions. Lookup conversion functions in /* Worker for lookup_conversions. Lookup conversion functions in
BINFO and its children. VIRTUAL_DEPTH is non-zero, if BINFO is in BINFO and its children. VIRTUAL_DEPTH is nonzero, if BINFO is in
a morally virtual base, and VIRTUALNESS is non-zero, if we've a morally virtual base, and VIRTUALNESS is nonzero, if we've
encountered virtual bases already in the tree walk. PARENT_CONVS & encountered virtual bases already in the tree walk. PARENT_CONVS &
PARENT_TPL_CONVS are lists of list of conversions within parent PARENT_TPL_CONVS are lists of list of conversions within parent
binfos. OTHER_CONVS and OTHER_TPL_CONVS are conversions found binfos. OTHER_CONVS and OTHER_TPL_CONVS are conversions found
elsewhere in the tree. Return the conversions found within this 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 encountered virtualness. We keep template and non-template
conversions separate, to avoid unnecessary type comparisons. conversions separate, to avoid unnecessary type comparisons.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment