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
faca0670
Commit
faca0670
authored
Aug 13, 2013
by
Adam Butcher
Committed by
Adam Butcher
Aug 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pt.c: Grammar fix in comments ("it's" to "its").
From-SVN: r201674
parent
d445d18d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/cp/ChangeLog
+4
-0
gcc/cp/pt.c
+3
-3
No files found.
gcc/cp/ChangeLog
View file @
faca0670
2013-08-13 Adam Butcher <adam@jessamine.co.uk>
* pt.c: Grammar fix in comments ("it's" to "its").
2013-08-12 Paolo Carlini <paolo.carlini@oracle.com>
2013-08-12 Paolo Carlini <paolo.carlini@oracle.com>
* decl.c (warn_extern_redeclared_static, duplicate_decls,
* decl.c (warn_extern_redeclared_static, duplicate_decls,
...
...
gcc/cp/pt.c
View file @
faca0670
...
@@ -1986,7 +1986,7 @@ determine_specialization (tree template_id,
...
@@ -1986,7 +1986,7 @@ determine_specialization (tree template_id,
tree
decl_arg_types
;
tree
decl_arg_types
;
/* This is an ordinary member function. However, since
/* This is an ordinary member function. However, since
we're here, we can assume it
'
s enclosing class is a
we're here, we can assume its enclosing class is a
template class. For example,
template class. For example,
template <typename T> struct S { void f(); };
template <typename T> struct S { void f(); };
...
@@ -4337,7 +4337,7 @@ check_default_tmpl_args (tree decl, tree parms, bool is_primary,
...
@@ -4337,7 +4337,7 @@ check_default_tmpl_args (tree decl, tree parms, bool is_primary,
||
DECL_INITIALIZED_IN_CLASS_P
(
decl
)))
||
DECL_INITIALIZED_IN_CLASS_P
(
decl
)))
/* We already checked these parameters when the template was
/* We already checked these parameters when the template was
declared, so there's no need to do it again now. This function
declared, so there's no need to do it again now. This function
was defined in class scope, but we're processing it
'
s body now
was defined in class scope, but we're processing its body now
that the class is complete. */
that the class is complete. */
return
true
;
return
true
;
...
@@ -7555,7 +7555,7 @@ lookup_template_class_1 (tree d1, tree arglist, tree in_decl, tree context,
...
@@ -7555,7 +7555,7 @@ lookup_template_class_1 (tree d1, tree arglist, tree in_decl, tree context,
the one of #0.
the one of #0.
When we encounter #1, we want to store the partial instantiation
When we encounter #1, we want to store the partial instantiation
of M (template<class T> S<int>::M<T>) in it
'
s CLASSTYPE_TI_TEMPLATE.
of M (template<class T> S<int>::M<T>) in its CLASSTYPE_TI_TEMPLATE.
For all cases other than this "explicit specialization of member of a
For all cases other than this "explicit specialization of member of a
class template", we just want to store the most general template into
class template", we just want to store the most general template into
...
...
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