Commit 5995ebfb by Kazu Hirata Committed by Kazu Hirata

call.c, [...]: Follow spelling conventions.

	* call.c, semantics.c: Follow spelling conventions.
	* class.c: Fix a comment typo.

From-SVN: r87704
parent 57e28d7d
2004-09-18 Kazu Hirata <kazu@cs.umass.edu>
* call.c, semantics.c: Follow spelling conventions.
* class.c: Fix a comment typo.
2004-09-16 Geoffrey Keating <geoffk@apple.com>
PR pch/13361
......
......@@ -5318,7 +5318,7 @@ build_new_method_call (tree instance, tree fns, tree args,
&& (DECL_CONSTRUCTOR_P (current_function_decl)
|| DECL_DESTRUCTOR_P (current_function_decl)))
/* This is not an error, it is runtime undefined
behaviour. */
behavior. */
warning ((DECL_CONSTRUCTOR_P (current_function_decl) ?
"abstract virtual `%#D' called from constructor"
: "abstract virtual `%#D' called from destructor"),
......
......@@ -500,7 +500,7 @@ build_vfield_ref (tree datum, tree type)
/* Second, the requested type may not be the owner of its own vptr.
If not, convert to the base class that owns it. We cannot use
convert_to_base here, because VCONTEXT may appear more than once
in the inheritence hierarchy of TYPE, and thus direct conversion
in the inheritance hierarchy of TYPE, and thus direct conversion
between the types may be ambiguous. Following the path back up
one step at a time via primary bases avoids the problem. */
vfield = TYPE_VFIELD (type);
......
......@@ -1037,7 +1037,7 @@ finish_handler (tree handler)
}
/* Begin a compound statement. FLAGS contains some bits that control the
behaviour and context. If BCS_NO_SCOPE is set, the compound statement
behavior and context. If BCS_NO_SCOPE is set, the compound statement
does not define a scope. If BCS_FN_BODY is set, this is the outermost
block of a function. If BCS_TRY_BLOCK is set, this is the block
created on behalf of a TRY statement. Returns a token to be passed to
......
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