diff options
Diffstat (limited to 'gcc/cp/decl.c')
| -rw-r--r-- | gcc/cp/decl.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 3d16537..8d929ad 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -11067,10 +11067,8 @@ grokdeclarator (declarator, declspecs, decl_context, initialized, attrlist) if (staticp) { - /* C++ allows static class members. - All other work for this is done by grokfield. - This VAR_DECL is built by build_lang_decl. - All other VAR_DECLs are built by build_decl. */ + /* C++ allows static class members. All other work + for this is done by grokfield. */ decl = build_lang_decl (VAR_DECL, declarator, type); TREE_STATIC (decl) = 1; /* In class context, 'static' means public access. */ |
