mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Remove virtual keyword not present in DMD source.
The virtual keyword is not required when overriding a virtual method. This commit sync the LDC source with DMD source.
This commit is contained in:
@@ -223,14 +223,14 @@ struct CompoundStatement : Statement
|
||||
CompoundStatement(Loc loc, Statements *s);
|
||||
CompoundStatement(Loc loc, Statement *s1);
|
||||
CompoundStatement(Loc loc, Statement *s1, Statement *s2);
|
||||
virtual Statement *syntaxCopy();
|
||||
Statement *syntaxCopy();
|
||||
void toCBuffer(OutBuffer *buf, HdrGenState *hgs);
|
||||
virtual Statement *semantic(Scope *sc);
|
||||
Statement *semantic(Scope *sc);
|
||||
int usesEH();
|
||||
int blockExit(bool mustNotThrow);
|
||||
int comeFrom();
|
||||
int isEmpty();
|
||||
virtual Statements *flatten(Scope *sc);
|
||||
Statements *flatten(Scope *sc);
|
||||
ReturnStatement *isReturnStatement();
|
||||
Expression *interpret(InterState *istate);
|
||||
Statement *last();
|
||||
@@ -240,14 +240,14 @@ struct CompoundStatement : Statement
|
||||
Statement *doInlineStatement(InlineDoState *ids);
|
||||
Statement *inlineScan(InlineScanState *iss);
|
||||
|
||||
virtual void toIR(IRState *irs);
|
||||
void toIR(IRState *irs);
|
||||
|
||||
CompoundStatement *isCompoundStatement() { return this; }
|
||||
|
||||
#if IN_LLVM
|
||||
virtual void toNakedIR(IRState *irs);
|
||||
virtual AsmBlockStatement* endsWithAsm();
|
||||
#endif
|
||||
|
||||
virtual CompoundStatement *isCompoundStatement() { return this; }
|
||||
};
|
||||
|
||||
struct CompoundDeclarationStatement : CompoundStatement
|
||||
|
||||
Reference in New Issue
Block a user