diff dmd/OnScopeStatement.d @ 72:2e2a5c3f943a

reduced warnings by adding override to the methods think this also normalizes different line endings used all over the place
author Trass3r
date Sat, 28 Aug 2010 16:19:48 +0200
parents 4ae0d790a452
children e28b18c23469
line wrap: on
line diff
--- a/dmd/OnScopeStatement.d	Sat Aug 28 16:14:07 2010 +0200
+++ b/dmd/OnScopeStatement.d	Sat Aug 28 16:19:48 2010 +0200
@@ -35,36 +35,36 @@
 		this.statement = statement;
 	}
 
-    Statement syntaxCopy()
+    override Statement syntaxCopy()
 	{
 		OnScopeStatement s = new OnScopeStatement(loc,
 			tok, statement.syntaxCopy());
 		return s;
 	}
 
-    BE blockExit()
+    override BE blockExit()
 	{
 		// At this point, this statement is just an empty placeholder
 		return BE.BEfallthru;
 	}
 
-    void toCBuffer(OutBuffer buf, HdrGenState* hgs)
+    override void toCBuffer(OutBuffer buf, HdrGenState* hgs)
 	{
 		assert(false);
 	}
 
-    Statement semantic(Scope sc)
+    override Statement semantic(Scope sc)
 	{
 		/* semantic is called on results of scopeCode() */
 		return this;
 	}
 
-    bool usesEH()
+    override bool usesEH()
 	{
 		assert(false);
 	}
 
-    void scopeCode(Scope sc, Statement* sentry, Statement* sexception, Statement* sfinally)
+    override void scopeCode(Scope sc, Statement* sentry, Statement* sexception, Statement* sfinally)
 	{
 		//printf("OnScopeStatement::scopeCode()\n");
 		//print();
@@ -110,7 +110,7 @@
 		}
 	}
 
-    void toIR(IRState* irs)
+    override void toIR(IRState* irs)
 	{
 	}
-}
\ No newline at end of file
+}