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
4c7d0dff
Commit
4c7d0dff
authored
26 years ago
by
Mark Mitchell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update documentation
From-SVN: r19671
parent
08362e16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
gcc/cp/pt.c
+7
-7
No files found.
gcc/cp/pt.c
View file @
4c7d0dff
...
...
@@ -5708,11 +5708,10 @@ type_unification (tparms, targs, parms, args, targs_in,
/* Adjust types before performing type deduction, as described in
[temp.deduct.call] and [temp.deduct.conv]. The rules in these two
sections are symmetric. For calls, the value passed as PARM should
be a parameter to the template function, while ARG should be the
actual argument used in the call. For conversions, PARM should be
the type required as the result of the conversion, while ARG should
be the return type of the template conversion function. */
sections are symmetric. PARM is the type of a function parameter
or the return type of the conversion function. ARG is the type of
the argument passed to the call, or the type of the value
intialized with the result of the conversion function. */
void
maybe_adjust_types_for_deduction
(
strict
,
parm
,
arg
)
...
...
@@ -5727,8 +5726,9 @@ maybe_adjust_types_for_deduction (strict, parm, arg)
case
DEDUCE_CONV
:
{
/* Swap PARM and ARG; the handling is precisely symmetric since
PARM will initialize ARG rather than vice versa. */
/* Swap PARM and ARG throughout the remainder of this
function; the handling is precisely symmetric since PARM
will initialize ARG rather than vice versa. */
tree
*
temp
=
parm
;
parm
=
arg
;
arg
=
temp
;
...
...
This diff is collapsed.
Click to expand it.
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