diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-06-09 18:56:52 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-06-09 19:00:35 +0200 |
commit | 98866120092edfd7d5a7ae008db960dae8ab1523 (patch) | |
tree | 5f8f01e69a689ae4b8d2ff66d380767a30806c8f /gcc/d/dmd/dsymbol.h | |
parent | ef41587df9839d1dfc77dbc48a0830e42b36626e (diff) | |
download | gcc-98866120092edfd7d5a7ae008db960dae8ab1523.zip gcc-98866120092edfd7d5a7ae008db960dae8ab1523.tar.gz gcc-98866120092edfd7d5a7ae008db960dae8ab1523.tar.bz2 |
d: Merge upstream dmd 13d67c575.
Reviewed-on: https://github.com/dlang/dmd/pull/11224
gcc/d/ChangeLog:
* dmd/MERGE: Merge upstream dmd 13d67c575.
* d-builtins.cc (build_frontend_type): Update call to
TypeVector::create.
* d-frontend.cc (Global::_init): Move setting of errorLimit to ...
* d-lang.cc (d_init_options): ... here. Update for new field
location of errorLimit.
(d_post_options): Likewise.
* d-port.cc (Port::readwordLE): Update signature.
(Port::readwordBE): Likewise.
(Port::readlongLE): Likewise.
(Port::readlongBE): Likewise.
* decl.cc (get_symbol_decl): Update for new field types.
Diffstat (limited to 'gcc/d/dmd/dsymbol.h')
-rw-r--r-- | gcc/d/dmd/dsymbol.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/d/dmd/dsymbol.h b/gcc/d/dmd/dsymbol.h index 63dbc2c..6e37f9b 100644 --- a/gcc/d/dmd/dsymbol.h +++ b/gcc/d/dmd/dsymbol.h @@ -12,7 +12,7 @@ #include "root/root.h" #include "root/stringtable.h" - +#include "ast_node.h" #include "globals.h" #include "arraytypes.h" #include "visitor.h" @@ -145,7 +145,7 @@ enum typedef int (*Dsymbol_apply_ft_t)(Dsymbol *, void *); -class Dsymbol : public RootObject +class Dsymbol : public ASTNode { public: Identifier *ident; @@ -281,7 +281,7 @@ public: virtual AttribDeclaration *isAttribDeclaration() { return NULL; } virtual AnonDeclaration *isAnonDeclaration() { return NULL; } virtual OverloadSet *isOverloadSet() { return NULL; } - virtual void accept(Visitor *v) { v->visit(this); } + void accept(Visitor *v) { v->visit(this); } }; // Dsymbol that generates a scope |