aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl.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/decl.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/decl.c')
-rw-r--r--gcc/cp/decl.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 4799149..b429a78 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -5992,7 +5992,7 @@ grokvardecl (tree type,
or enumeration declared in a local scope) shall not be used to
declare an entity with linkage.
- Only check this for public decls for now. */
+ Only check this for public decls for now. */
tree t1 = TREE_TYPE (decl);
tree t = no_linkage_check (t1, /*relaxed_p=*/false);
if (t)
@@ -6010,11 +6010,11 @@ grokvardecl (tree type,
Note that while this construct is well formed in C++03
it is likely to become ill formed in C++0x. See open
- CWG issue 389 and related issues. */
+ CWG issue 389 and related issues. */
;
else
{
- /* It's a typedef referring to an anonymous type. */
+ /* It's a typedef referring to an anonymous type. */
pedwarn ("non-local variable %q#D uses anonymous type",
decl);
if (DECL_ORIGINAL_TYPE (TYPE_NAME (t)))
@@ -6437,7 +6437,7 @@ check_special_function_return_type (special_function_kind sfk,
/* A variable or data member (whose unqualified name is IDENTIFIER)
has been declared with the indicated TYPE. If the TYPE is not
acceptable, issue an error message and return a type to use for
- error-recovery purposes. */
+ error-recovery purposes. */
tree
check_var_type (tree identifier, tree type)
@@ -9298,7 +9298,7 @@ xref_basetypes (tree ref, tree base_list)
{
tree *basep;
tree binfo, base_binfo;
- unsigned max_vbases = 0; /* Maximum direct & indirect virtual bases. */
+ unsigned max_vbases = 0; /* Maximum direct & indirect virtual bases. */
unsigned max_bases = 0; /* Maximum direct bases. */
int i;
tree default_access;
@@ -9606,7 +9606,7 @@ finish_enum (tree enumtype)
a smaller integral type would work, unless the user has
explicitly requested that we use the smallest possible type. The
user can request that for all enumerations with a command line
- flag, or for just one enumeration with an attribute. */
+ flag, or for just one enumeration with an attribute. */
use_short_enum = flag_short_enums
|| lookup_attribute ("packed", TYPE_ATTRIBUTES (enumtype));