diff options
Diffstat (limited to 'gcc/d/dmd/dsymbol.h')
-rw-r--r-- | gcc/d/dmd/dsymbol.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/d/dmd/dsymbol.h b/gcc/d/dmd/dsymbol.h index 03d5c3d..c5af06e 100644 --- a/gcc/d/dmd/dsymbol.h +++ b/gcc/d/dmd/dsymbol.h @@ -175,8 +175,6 @@ public: /// C++ namespace this symbol belongs to CPPNamespaceDeclaration *namespace_; Symbol *csym; // symbol for code generator - Symbol *isym; // import version of csym - const utf8_t *comment; // documentation comment for this Dsymbol Loc loc; // where defined Scope *_scope; // !=NULL means context to use for semantic() const utf8_t *prettystring; @@ -185,7 +183,6 @@ public: unsigned short localNum; // perturb mangled name to avoid collisions with those in FuncDeclaration.localsymtab DeprecatedDeclaration *depdecl; // customized deprecation message UserAttributeDeclaration *userAttribDecl; // user defined attributes - UnitTestDeclaration *ddocUnittest; // !=NULL means there's a ddoc unittest associated with this symbol (only use this with ddoc) static Dsymbol *create(Identifier *); const char *toChars() const; @@ -252,6 +249,10 @@ public: virtual void checkCtorConstInit() { } virtual void addComment(const utf8_t *comment); + const utf8_t *comment(); // current value of comment + + UnitTestDeclaration *ddocUnittest(); + void ddocUnittest(UnitTestDeclaration *); bool inNonRoot(); |