Commit a5aef1da by Jason Merrill

comment tweaks

From-SVN: r199750
parent 6ab3ebb4
...@@ -2737,7 +2737,10 @@ extern void decl_shadowed_for_var_insert (tree, tree); ...@@ -2737,7 +2737,10 @@ extern void decl_shadowed_for_var_insert (tree, tree);
: TREE_VEC_LENGTH (INNERMOST_TEMPLATE_ARGS (NODE)) : TREE_VEC_LENGTH (INNERMOST_TEMPLATE_ARGS (NODE))
#endif #endif
/* The list of typedefs - used in the template - that need /* The list of typedefs - used in the template - that need
access checking at template instantiation time. */ access checking at template instantiation time.
FIXME this should be associated with the TEMPLATE_DECL, not the
TEMPLATE_INFO. */
#define TI_TYPEDEFS_NEEDING_ACCESS_CHECKING(NODE) \ #define TI_TYPEDEFS_NEEDING_ACCESS_CHECKING(NODE) \
((struct tree_template_info*)TEMPLATE_INFO_CHECK \ ((struct tree_template_info*)TEMPLATE_INFO_CHECK \
(NODE))->typedefs_needing_access_checking (NODE))->typedefs_needing_access_checking
......
...@@ -17783,7 +17783,7 @@ cp_parser_parameter_declaration_list (cp_parser* parser, bool *is_error) ...@@ -17783,7 +17783,7 @@ cp_parser_parameter_declaration_list (cp_parser* parser, bool *is_error)
&& !parser->in_type_id_in_expr_p && !parser->in_type_id_in_expr_p
&& cp_parser_uncommitted_to_tentative_parse_p (parser) && cp_parser_uncommitted_to_tentative_parse_p (parser)
/* However, a parameter-declaration of the form /* However, a parameter-declaration of the form
"foat(f)" (which is a valid declaration of a "float(f)" (which is a valid declaration of a
parameter "f") can also be interpreted as an parameter "f") can also be interpreted as an
expression (the conversion of "f" to "float"). */ expression (the conversion of "f" to "float"). */
&& !parenthesized_p) && !parenthesized_p)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment