mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-02 00:04:30 +08:00
* pt.c (instantiate_template): Fix typo in comment.
From-SVN: r114788
This commit is contained in:
parent
ca84a9a2e3
commit
a1d0899101
@ -1,3 +1,7 @@
|
|||||||
|
2006-06-19 Mark Mitchell <mark@codesourcery.com>
|
||||||
|
|
||||||
|
* pt.c (instantiate_template): Fix typo in comment.
|
||||||
|
|
||||||
2006-06-19 Richard Guenther <rguenther@suse.de>
|
2006-06-19 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
* parser.c (CP_LEXER_BUFFER_SIZE): Adjust to assure near
|
* parser.c (CP_LEXER_BUFFER_SIZE): Adjust to assure near
|
||||||
|
@ -9295,9 +9295,10 @@ instantiate_template (tree tmpl, tree targ_ptr, tsubst_flags_t complain)
|
|||||||
|
|
||||||
/* Although PROCESSING_TEMPLATE_DECL may be true at this point
|
/* Although PROCESSING_TEMPLATE_DECL may be true at this point
|
||||||
(because, for example, we have encountered a non-dependent
|
(because, for example, we have encountered a non-dependent
|
||||||
function call in the body of a template function must determine
|
function call in the body of a template function and must now
|
||||||
which of several overloaded functions will be called), within the
|
determine which of several overloaded functions will be called),
|
||||||
instantiation itself we are not processing a template. */
|
within the instantiation itself we are not processing a
|
||||||
|
template. */
|
||||||
saved_processing_template_decl = processing_template_decl;
|
saved_processing_template_decl = processing_template_decl;
|
||||||
processing_template_decl = 0;
|
processing_template_decl = 0;
|
||||||
/* Substitute template parameters to obtain the specialization. */
|
/* Substitute template parameters to obtain the specialization. */
|
||||||
|
Loading…
Reference in New Issue
Block a user