diff dmd/StaticIfCondition.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 1628b221808d
children e28b18c23469
line wrap: on
line diff
--- a/dmd/StaticIfCondition.d	Sat Aug 28 16:14:07 2010 +0200
+++ b/dmd/StaticIfCondition.d	Sat Aug 28 16:19:48 2010 +0200
@@ -1,15 +1,15 @@
-module dmd.StaticIfCondition;
-
-import dmd.Expression;
-import dmd.ScopeDsymbol;
-import dmd.OutBuffer;
-import dmd.Loc;
-import dmd.Scope;
-import dmd.Condition;
+module dmd.StaticIfCondition;
+
+import dmd.Expression;
+import dmd.ScopeDsymbol;
+import dmd.OutBuffer;
+import dmd.Loc;
+import dmd.Scope;
+import dmd.Condition;
 import dmd.HdrGenState;
 import dmd.WANT;
-import dmd.Util;
-
+import dmd.Util;
+
 class StaticIfCondition : Condition
 {
 	Expression exp;
@@ -20,12 +20,12 @@
 		this.exp = exp;
 	}
 
-	Condition syntaxCopy()
+	override Condition syntaxCopy()
 	{
-	    return new StaticIfCondition(loc, exp.syntaxCopy());
+	    return new StaticIfCondition(loc, exp.syntaxCopy());
 	}
 
-	bool include(Scope sc, ScopeDsymbol s)
+	override bool include(Scope sc, ScopeDsymbol s)
 	{
 	static if (false) {
 		printf("StaticIfCondition.include(sc = %p, s = %p)\n", sc, s);
@@ -62,7 +62,7 @@
 		return (inc == 1);
 	}
 
-	void toCBuffer(OutBuffer buf, HdrGenState* hgs)
+	override void toCBuffer(OutBuffer buf, HdrGenState* hgs)
 	{
 		assert(false);
 	}