Commit a692ad2e by Kazu Hirata Committed by Kazu Hirata

class.c, [...]: Fix comment typos.

	* class.c, cp-tree.h, decl.c, decl2.c, pt.c, rtti.c: Fix
	comment typos.

From-SVN: r81344
parent 2fe8b9c8
2004-04-30 Kazu Hirata <kazu@cs.umass.edu>
* class.c, cp-tree.h, decl.c, decl2.c, pt.c, rtti.c: Fix
comment typos.
2004-04-23 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-04-23 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/15064 PR c++/15064
......
...@@ -4178,7 +4178,7 @@ create_vtable_ptr (tree t, tree* virtuals_p) ...@@ -4178,7 +4178,7 @@ create_vtable_ptr (tree t, tree* virtuals_p)
{ {
/* We build this decl with vtbl_ptr_type_node, which is a /* We build this decl with vtbl_ptr_type_node, which is a
`vtable_entry_type*'. It might seem more precise to use `vtable_entry_type*'. It might seem more precise to use
`vtable_entry_type (*)[N]' where N is the number of firtual `vtable_entry_type (*)[N]' where N is the number of virtual
functions. However, that would require the vtable pointer in functions. However, that would require the vtable pointer in
base classes to have a different type than the vtable pointer base classes to have a different type than the vtable pointer
in derived classes. We could make that happen, but that in derived classes. We could make that happen, but that
......
...@@ -1394,7 +1394,7 @@ struct lang_type GTY(()) ...@@ -1394,7 +1394,7 @@ struct lang_type GTY(())
way or the other. */ way or the other. */
#define CLASSTYPE_INTERFACE_KNOWN(NODE) \ #define CLASSTYPE_INTERFACE_KNOWN(NODE) \
(LANG_TYPE_CLASS_CHECK (NODE)->interface_unknown == 0) (LANG_TYPE_CLASS_CHECK (NODE)->interface_unknown == 0)
/* The opposite of CLASSTYPE_INTERFANCE_KNOWN. */ /* The opposite of CLASSTYPE_INTERFACE_KNOWN. */
#define CLASSTYPE_INTERFACE_UNKNOWN(NODE) \ #define CLASSTYPE_INTERFACE_UNKNOWN(NODE) \
(LANG_TYPE_CLASS_CHECK (NODE)->interface_unknown) (LANG_TYPE_CLASS_CHECK (NODE)->interface_unknown)
......
...@@ -3099,7 +3099,7 @@ cp_fname_init (const char* name, tree *type_p) ...@@ -3099,7 +3099,7 @@ cp_fname_init (const char* name, tree *type_p)
decl, NAME is the initialization string and TYPE_DEP indicates whether decl, NAME is the initialization string and TYPE_DEP indicates whether
NAME depended on the type of the function. We make use of that to detect NAME depended on the type of the function. We make use of that to detect
__PRETTY_FUNCTION__ inside a template fn. This is being done __PRETTY_FUNCTION__ inside a template fn. This is being done
lazily at the point of first use, so we musn't push the decl now. */ lazily at the point of first use, so we mustn't push the decl now. */
static tree static tree
cp_make_fname_decl (tree id, int type_dep) cp_make_fname_decl (tree id, int type_dep)
......
...@@ -2292,7 +2292,7 @@ do_static_initialization (tree decl, tree init) ...@@ -2292,7 +2292,7 @@ do_static_initialization (tree decl, tree init)
if (flag_use_cxa_atexit) if (flag_use_cxa_atexit)
register_dtor_fn (decl); register_dtor_fn (decl);
/* Finsh up. */ /* Finish up. */
finish_static_initialization_or_destruction (guard_if_stmt); finish_static_initialization_or_destruction (guard_if_stmt);
} }
......
...@@ -3008,7 +3008,7 @@ push_template_decl_real (tree decl, int is_friend) ...@@ -3008,7 +3008,7 @@ push_template_decl_real (tree decl, int is_friend)
} }
} }
/* The DECL_TI_ARGS of DECL contains full set of arguments refering /* The DECL_TI_ARGS of DECL contains full set of arguments referring
back to its most general template. If TMPL is a specialization, back to its most general template. If TMPL is a specialization,
ARGS may only have the innermost set of arguments. Add the missing ARGS may only have the innermost set of arguments. Add the missing
argument levels if necessary. */ argument levels if necessary. */
......
...@@ -1244,7 +1244,7 @@ get_pseudo_ti_desc (tree type) ...@@ -1244,7 +1244,7 @@ get_pseudo_ti_desc (tree type)
} }
/* Make sure the required builtin types exist for generating the type_info /* Make sure the required builtin types exist for generating the type_info
varable definitions. */ variable definitions. */
static void static void
create_tinfo_types (void) create_tinfo_types (void)
......
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