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
d732e98f
Commit
d732e98f
authored
Jul 28, 2007
by
Kazu Hirata
Committed by
Kazu Hirata
Jul 28, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pt.c, tree.c, typeck2.c: Fix comment typos.
From-SVN: r127031
parent
cea618ac
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
5 deletions
+9
-5
gcc/cp/ChangeLog
+4
-0
gcc/cp/pt.c
+2
-2
gcc/cp/tree.c
+1
-1
gcc/cp/typeck2.c
+2
-2
No files found.
gcc/cp/ChangeLog
View file @
d732e98f
2007-07-28 Kazu Hirata <kazu@codesourcery.com>
* pt.c, tree.c, typeck2.c: Fix comment typos.
2007-07-28 Simon Martin <simartin@users.sourceforge.net>
Mark Mitchell <mark@codesourcery.com>
...
...
gcc/cp/pt.c
View file @
d732e98f
...
...
@@ -2213,7 +2213,7 @@ check_explicit_specialization (tree declarator,
tree
tmpl_func
=
DECL_TEMPLATE_RESULT
(
gen_tmpl
);
gcc_assert
(
TREE_CODE
(
tmpl_func
)
==
FUNCTION_DECL
);
/* This specialization has the same linkage and visiblity as
/* This specialization has the same linkage and visib
i
lity as
the function template it specializes. */
TREE_PUBLIC
(
decl
)
=
TREE_PUBLIC
(
tmpl_func
);
DECL_THIS_STATIC
(
decl
)
=
DECL_THIS_STATIC
(
tmpl_func
);
...
...
@@ -4637,7 +4637,7 @@ convert_template_argument (tree parm,
requires_type
=
(
TREE_CODE
(
parm
)
==
TYPE_DECL
||
requires_tmpl_type
);
/* When determining whether a argument pack expansion is a template,
/* When determining whether a
n
argument pack expansion is a template,
look at the pattern. */
if
(
TREE_CODE
(
check_arg
)
==
TYPE_PACK_EXPANSION
)
check_arg
=
PACK_EXPANSION_PATTERN
(
check_arg
);
...
...
gcc/cp/tree.c
View file @
d732e98f
...
...
@@ -83,7 +83,7 @@ lvalue_p_1 (tree ref,
&&
TREE_CODE
(
ref
)
!=
COMPONENT_REF
)
return
clk_none
;
/* lvalue references and named rvalue refe
nces are lvalues
*/
/* lvalue references and named rvalue refe
rences are lvalues.
*/
return
clk_ordinary
;
}
...
...
gcc/cp/typeck2.c
View file @
d732e98f
...
...
@@ -764,8 +764,8 @@ picflag_from_initializer (tree init)
}
/* Subroutine of process_init_constructor, which will process an initializer
INIT for a
array or vector of type TYPE. Returns the flags (PICFLAG_*) which
describe the initializers. */
INIT for a
n array or vector of type TYPE. Returns the flags (PICFLAG_*)
which
describe the initializers. */
static
int
process_init_constructor_array
(
tree
type
,
tree
init
)
...
...
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