Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
9c763d19
Commit
9c763d19
authored
Sep 16, 2004
by
Kazu Hirata
Committed by
Kazu Hirata
Sep 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* search.c: Follow spelling conventions.
From-SVN: r87600
parent
8210e4c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
gcc/cp/ChangeLog
+4
-0
gcc/cp/search.c
+6
-6
No files found.
gcc/cp/ChangeLog
View file @
9c763d19
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.
...
...
gcc/cp/search.c
View file @
9c763d19
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment