diff options
author | Ondřej Bílka <neleai@seznam.cz> | 2013-07-21 17:48:42 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2013-07-21 17:48:42 +0000 |
commit | c65cb8d1f07920e911d13e551476e28d204e8daa (patch) | |
tree | 22d726fe8015d7bcb410dddfed8af54da0888188 /gcc/cp/semantics.c | |
parent | 631b20a7fcb5982ae2092198cea18f25d2ed4a5e (diff) | |
download | gcc-c65cb8d1f07920e911d13e551476e28d204e8daa.zip gcc-c65cb8d1f07920e911d13e551476e28d204e8daa.tar.gz gcc-c65cb8d1f07920e911d13e551476e28d204e8daa.tar.bz2 |
class.c: Fix typos.
2013-07-21 OndÅej BÃlka <neleai@seznam.cz>
* class.c: Fix typos.
* cp-array-notation.c: Likewise.
* cp-objcp-common.c: Likewise.
* decl.c: Likewise.
* init.c: Likewise.
* mangle.c: Likewise.
* parser.c: Likewise.
* pt.c: Likewise.
* semantics.c: Likewise.
From-SVN: r201106
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r-- | gcc/cp/semantics.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index 79b29e4..f68d386 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -6478,7 +6478,7 @@ typedef struct GTY(()) constexpr_call { constexpr_fundef *fundef; /* Parameter bindings environment. A TREE_LIST where each TREE_PURPOSE is a parameter _DECL and the TREE_VALUE is the value of the parameter. - Note: This arrangement is made to accomodate the use of + Note: This arrangement is made to accommodate the use of iterative_hash_template_arg (see pt.c). If you change this representation, also change the hash calculation in cxx_eval_call_expression. */ @@ -6684,7 +6684,7 @@ cxx_bind_parameters_in_call (const constexpr_call *old_call, tree t, tree x, arg; tree type = parms ? TREE_TYPE (parms) : void_type_node; /* For member function, the first argument is a pointer to the implied - object. And for an object contruction, don't bind `this' before + object. And for an object construction, don't bind `this' before it is fully constructed. */ if (i == 0 && DECL_CONSTRUCTOR_P (fun)) goto next; @@ -8385,7 +8385,7 @@ check_automatic_or_tls (tree ref) C++0x [expr.const] used to say 6 An expression is a potential constant expression if it is - a constant expression where all occurences of function + a constant expression where all occurrences of function parameters are replaced by arbitrary constant expressions of the appropriate type. |