OSDN Git Service

* cp-tree.def, parser.c, pt.c: Fix comment typos.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Mar 2007 17:29:11 +0000 (17:29 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Mar 2007 17:29:11 +0000 (17:29 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123024 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/cp-tree.def
gcc/cp/parser.c
gcc/cp/pt.c

index f5d26c0..b465308 100644 (file)
@@ -1,3 +1,7 @@
+2007-03-17  Kazu Hirata  <kazu@codesourcery.com>
+
+       * cp-tree.def, parser.c, pt.c: Fix comment typos.
+
 2007-03-16  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
 
        * cvt.c (cp_convert_and_check) : Define.
index 83e1e53..a2a0c03 100644 (file)
@@ -367,7 +367,7 @@ DEFTREECODE (STATIC_ASSERT, "static_assert", tcc_exceptional, 0)
 
    Values is a (template) parameter pack. When tuple<int, float,
    double> is instantiated, the Values parameter pack is instantiated
-   with the argment pack <int, float, double>. ARGUMENT_PACK_ARGS will
+   with the argument pack <int, float, double>. ARGUMENT_PACK_ARGS will
    be a TREE_VEC containing int, float, and double.  */
 DEFTREECODE (TYPE_ARGUMENT_PACK, "type_argument_pack", tcc_type, 0)
 
index e123047..2cf6f8a 100644 (file)
@@ -4343,8 +4343,8 @@ cp_parser_postfix_expression (cp_parser *parser, bool address_p, bool cast_p)
                   allowed in standard C++.  */
                if (pedantic)
                  pedwarn ("ISO C++ forbids compound-literals");
-               /* For simplicitly, we disallow compound literals in
-                  constant-expressions for simpliicitly.  We could
+               /* For simplicity, we disallow compound literals in
+                  constant-expressions.  We could
                   allow compound literals of integer type, whose
                   initializer was a constant, in constant
                   expressions.  Permitting that usage, as a further
index 2546ab4..575057f 100644 (file)
@@ -7677,7 +7677,7 @@ tsubst_decl (tree t, tree args, tsubst_flags_t complain)
             /* If there is a local specialization that isn't a
                parameter pack, it means that we're doing a "simple"
                substitution from inside tsubst_pack_expansion. Just
-               return the local specialiation (which will be a single
+               return the local specialization (which will be a single
                parm).  */
             tree spec = NULL_TREE;
             if (local_specializations)