* decl2.c, init.c, typeck.c: Fix comment typos.
authorKazu Hirata <kazu@codesourcery.com>
Sat, 5 Nov 2005 20:34:08 +0000 (20:34 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sat, 5 Nov 2005 20:34:08 +0000 (20:34 +0000)
From-SVN: r106533

gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/init.c
gcc/cp/typeck.c

index 0e7d5e935ba58730a37a4d83da3b92d3bff1f3d7..191bedf8690b0e9485311484a99c28c06235a7ce 100644 (file)
@@ -1,3 +1,7 @@
+2005-11-05  Kazu Hirata  <kazu@codesourcery.com>
+
+       * decl2.c, init.c, typeck.c: Fix comment typos.
+
 2005-11-04  Richard Guenther  <rguenther@suse.de>
 
        PR c++/22487
index 70ca017d9e448b1f39e65e1be05d3c4ced04a216..77ac5f7ae9ea56e29bde4fd52d6891c249f6918f 100644 (file)
@@ -2320,7 +2320,7 @@ get_priority_info (int priority)
        ((!DECL_HAS_INIT_PRIORITY_P (decl) || DECL_INIT_PRIORITY (decl) == 0) \
         ? DEFAULT_INIT_PRIORITY : DECL_INIT_PRIORITY (decl))
 
-/* Wether a DECL needs a guard to protect it against multiple
+/* Whether a DECL needs a guard to protect it against multiple
    initialization.  */
 
 #define NEEDS_GUARD_P(decl) (TREE_PUBLIC (decl) && (DECL_COMMON (decl)      \
index 1ff2fd7be7be2f52ca090bb9fb456447db48d8f5..f43846719e5873a89106a40e57213f137d2f6b80 100644 (file)
@@ -1604,7 +1604,7 @@ constant_value_1 (tree decl, bool integral_p)
              : (!TREE_CONSTANT (init)
                 /* Do not return an aggregate constant (of which
                    string literals are a special case), as we do not
-                   want to make inadvertant copies of such entities,
+                   want to make inadvertent copies of such entities,
                    and we must be sure that their addresses are the
                    same everywhere.  */
                 || TREE_CODE (init) == CONSTRUCTOR
index a7edfc12e7f5155a2762c4a2d51983d67b9a45ca..b9be6fd694ff6601eb26340f2de58f6961d27f7b 100644 (file)
@@ -1858,7 +1858,7 @@ check_template_keyword (tree decl)
      DR 228 removed the restriction that the template be a member
      template.  
      
-     DR 96, if accepted would add the further restriction that explcit
+     DR 96, if accepted would add the further restriction that explicit
      template arguments must be provided if the template keyword is
      used, but, as of 2005-10-16, that DR is still in "drafting".  If
      this DR is accepted, then the semantic checks here can be