aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-08 14:48:02 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-08 14:48:02 +0000
commit03fd3f84d88fb235f16093b9da6e91e6f4a7c253 (patch)
treee9fb98404f857d20d8698ebaf018a3542d0aea64 /gcc/cp/class.c
parent517f199e1e6f9d5c52cc5f2b5fe8c9899b660ae8 (diff)
downloadgcc-03fd3f84d88fb235f16093b9da6e91e6f4a7c253.zip
gcc-03fd3f84d88fb235f16093b9da6e91e6f4a7c253.tar.gz
gcc-03fd3f84d88fb235f16093b9da6e91e6f4a7c253.tar.bz2
class.c, [...]: Fix comment formatting.
* class.c, decl.c, lex.c, name-lookup.c, parser.c, pt.c, search.c, typeck2.c: Fix comment formatting. From-SVN: r90265
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r--gcc/cp/class.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index c21d441..63e2cf7 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -1027,7 +1027,7 @@ add_method (tree type, tree method)
VEC_quick_insert (tree, method_vec, slot, overload);
}
else
- /* Replace the current slot. */
+ /* Replace the current slot. */
VEC_replace (tree, method_vec, slot, overload);
}
@@ -4068,7 +4068,7 @@ check_bases_and_members (tree t)
TYPE_HAS_COMPLEX_ASSIGN_REF (t)
|= TYPE_HAS_ASSIGN_REF (t) || TYPE_CONTAINS_VPTR_P (t);
- /* Synthesize any needed methods. */
+ /* Synthesize any needed methods. */
add_implicitly_declared_members (t, cant_have_default_ctor,
cant_have_const_ctor,
no_const_asn_ref);