call.c, [...]: Fix comment typo(s).
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Thu, 24 Feb 2005 21:55:15 +0000 (21:55 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Thu, 24 Feb 2005 21:55:15 +0000 (21:55 +0000)
* call.c, class.c, cp-tree.h, decl2.c, error.c, init.c, mangle.c,
        parser.c: Fix comment typo(s).

From-SVN: r95517

gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/error.c
gcc/cp/init.c
gcc/cp/mangle.c
gcc/cp/parser.c

index bc9e1ea1ec24174c1befa62d2ade4d002702fbf6..d11e3215997ff9f0bad1236e1e8732927ccf9a84 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-24  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       * call.c, class.c, cp-tree.h, decl2.c, error.c, init.c, mangle.c,
+       parser.c: Fix comment typo(s).
+
 2005-02-24  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/20175
index 4655430a2bd2587fdc7399e118c5546bfa5e1b06..5737e4fc0a11ffd1b21d5410c3cddb54de5c2909 100644 (file)
@@ -538,8 +538,7 @@ build_conv (conversion_kind code, tree type, conversion *from)
 }
 
 /* Build a representation of the identity conversion from EXPR to
-   itself.  The TYPE should match the the type of EXPR, if EXPR is
-   non-NULL.  */
+   itself.  The TYPE should match the type of EXPR, if EXPR is non-NULL.  */
 
 static conversion *
 build_identity_conv (tree type, tree expr)
@@ -2450,7 +2449,7 @@ print_z_candidates (struct z_candidate *candidates)
 /* USER_SEQ is a user-defined conversion sequence, beginning with a
    USER_CONV.  STD_SEQ is the standard conversion sequence applied to
    the result of the conversion function to convert it to the final
-   desired type.  Merge the the two sequences into a single sequence,
+   desired type.  Merge the two sequences into a single sequence,
    and return the merged sequence.  */
 
 static conversion *
index 77e9b80f4f9a49712af15c1c626d3df1f8980c0a..f6ba914cb84e4335adc6ff340c6f2208937141a7 100644 (file)
@@ -3505,7 +3505,7 @@ layout_empty_base (tree binfo, tree eoc, splay_tree offsets)
   return atend;
 }
 
-/* Layout the the base given by BINFO in the class indicated by RLI.
+/* Layout the base given by BINFO in the class indicated by RLI.
    *BASE_ALIGN is a running maximum of the alignments of
    any base class.  OFFSETS gives the location of empty base
    subobjects.  T is the most derived type.  Return nonzero if the new
@@ -4035,7 +4035,7 @@ check_bases_and_members (tree t)
   /* Nonzero if the implicitly generated copy constructor should take
      a non-const reference argument.  */
   int cant_have_const_ctor;
-  /* Nonzero if the the implicitly generated assignment operator
+  /* Nonzero if the implicitly generated assignment operator
      should take a non-const reference argument.  */
   int no_const_asn_ref;
   tree access_decls;
@@ -7680,8 +7680,8 @@ build_rtti_vtbl_entries (tree binfo, vtbl_init_data* vid)
   *vid->last_init = build_tree_list (NULL_TREE, init);
   vid->last_init = &TREE_CHAIN (*vid->last_init);
 
-  /* Add the offset-to-top entry.  It comes earlier in the vtable that
-     the the typeinfo entry.  Convert the offset to look like a
+  /* Add the offset-to-top entry.  It comes earlier in the vtable than
+     the typeinfo entry.  Convert the offset to look like a
      function pointer, so that we can put it in the vtable.  */
   init = build_nop (vfunc_ptr_type_node, offset);
   *vid->last_init = build_tree_list (NULL_TREE, init);
index d99ae7f74c1d46d5f454ee49de63b58b687ffb7c..caac8b24fb6d6898045fc40e0d68b077abd4f8cd 100644 (file)
@@ -1683,7 +1683,7 @@ struct lang_decl GTY(())
 
 /* Nonzero if NODE (a FUNCTION_DECL) is a destructor, but not the
    specialized in-charge constructor, in-charge deleting constructor,
-   or the the base destructor.  */
+   or the base destructor.  */
 #define DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P(NODE)                        \
   (DECL_DESTRUCTOR_P (NODE) && !DECL_CLONED_FUNCTION_P (NODE))
 
@@ -2836,7 +2836,7 @@ struct lang_decl GTY(())
 
 /* Nonzero if this VAR_DECL or FUNCTION_DECL has already been
    instantiated, i.e. its definition has been generated from the
-   pattern given in the the template.  */
+   pattern given in the template.  */
 #define DECL_TEMPLATE_INSTANTIATED(NODE) \
   DECL_LANG_FLAG_1 (VAR_OR_FUNCTION_DECL_CHECK (NODE))
 
@@ -4371,7 +4371,7 @@ extern tree mangle_ref_init_variable            (tree);
 /* in dump.c */
 extern bool cp_dump_tree                         (void *, tree);
 
-/* in cp-simplify.c */
+/* in cp-gimplify.c */
 extern int cp_gimplify_expr                    (tree *, tree *, tree *);
 extern void cp_genericize                      (tree);
 
index 7ed490e8071ceb40c2c3db8f229d29633a2721b6..474e04e2faa73009e8a9fd5b06a9180c940ffdc1 100644 (file)
@@ -2437,7 +2437,7 @@ do_static_initialization (tree decl, tree init)
   if (init)
     finish_expr_stmt (init);
 
-  /* If we're using __cxa_atexit, register a function that calls the
+  /* If we're using __cxa_atexit, register a function that calls the
      destructor for the object.  */
   if (flag_use_cxa_atexit)
     finish_expr_stmt (register_dtor_fn (decl));
index fc26560680546daddc2b4397928fd7ea4658c3cb..c53e0328cd01946148da5123637bc728688ec495 100644 (file)
@@ -2201,7 +2201,7 @@ print_instantiation_full_context (diagnostic_context *context)
       else
        {
          if (current_function_decl == TINST_DECL (p))
-           /* Avoid redundancy with the the "In function" line.  */;
+           /* Avoid redundancy with the "In function" line.  */;
          else
            pp_verbatim (context->printer,
                          "%s: In instantiation of %qs:\n",
index 1a8196129845522745b47e7d6d81d886af3e0b27..087868674f31c223f85b7960e3198ff7aaabd6d5 100644 (file)
@@ -1762,7 +1762,7 @@ build_new_1 (tree exp)
      from ELT_TYPE for a multi-dimensional array; ELT_TYPE is never an
      ARRAY_TYPE, but TYPE may be an ARRAY_TYPE.  */
   tree type;
-  /* A pointer type pointing to to the FULL_TYPE.  */
+  /* A pointer type pointing to the FULL_TYPE.  */
   tree full_pointer_type;
   tree outer_nelts = NULL_TREE;
   tree nelts = NULL_TREE;
index eb9f8f075a2f8a332ba6c9e62fcd8330e1d3e165..1d49490a81d514a1f3eb0794513777949efc5302 100644 (file)
@@ -2230,7 +2230,7 @@ write_template_arg (tree node)
   MANGLE_TRACE_TREE ("template-arg", node);
 
   /* A template template parameter's argument list contains TREE_LIST
-     nodes of which the value field is the the actual argument.  */
+     nodes of which the value field is the actual argument.  */
   if (code == TREE_LIST)
     {
       node = TREE_VALUE (node);
index 765991fb482148d767fbfd515f7027283507c2b0..3db7f2ee9f6d253ecc6100c4c5124910e088ab0e 100644 (file)
@@ -9580,7 +9580,7 @@ cp_parser_simple_type_specifier (cp_parser* parser,
    typedef-name:
      identifier
 
-   Returns a TYPE_DECL for the the type.  */
+   Returns a TYPE_DECL for the type.  */
 
 static tree
 cp_parser_type_name (cp_parser* parser)
@@ -14333,7 +14333,7 @@ cp_parser_lookup_name (cp_parser *parser, tree name,
             lookup_member, we must enter the scope here.  */
          if (dependent_p)
            pushed_scope = push_scope (parser->scope);
-         /* If the PARSER->SCOPE is a template specialization, it
+         /* If the PARSER->SCOPE is a template specialization, it
             may be instantiated during name lookup.  In that case,
             errors may be issued.  Even if we rollback the current
             tentative parse, those errors are valid.  */