]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
comment tweaks
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Jun 2013 17:57:44 +0000 (17:57 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Jun 2013 17:57:44 +0000 (17:57 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199750 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/cp-tree.h
gcc/cp/parser.c

index 8be1077c99c18a727b17a2bad0cdae093f4e10e4..9421822ca7bf194f92a264c2374eb03cfccaa6f8 100644 (file)
@@ -2737,7 +2737,10 @@ extern void decl_shadowed_for_var_insert (tree, tree);
   : TREE_VEC_LENGTH (INNERMOST_TEMPLATE_ARGS (NODE))
 #endif
 /* 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) \
   ((struct tree_template_info*)TEMPLATE_INFO_CHECK \
      (NODE))->typedefs_needing_access_checking
index dfeeb0a94c28d2fcf01aff11b212fd6d09381023..319da218356e46bb9c30b71aff0ca7d5de248997 100644 (file)
@@ -17783,7 +17783,7 @@ cp_parser_parameter_declaration_list (cp_parser* parser, bool *is_error)
              && !parser->in_type_id_in_expr_p
              && cp_parser_uncommitted_to_tentative_parse_p (parser)
              /* 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
                 expression (the conversion of "f" to "float").  */
              && !parenthesized_p)