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:
kai
2012-12-18 23:10:30 +01:00
parent d4521c15c6
commit c250b8b208

View File

@@ -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