diff dmd/TypeSlice.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 38a17310d587
children 3482c73a991b
line wrap: on
line diff
--- a/dmd/TypeSlice.d	Sat Aug 28 16:14:07 2010 +0200
+++ b/dmd/TypeSlice.d	Sat Aug 28 16:19:48 2010 +0200
@@ -42,14 +42,14 @@
 	}
 }
 	
-    Type syntaxCopy()
+    override Type syntaxCopy()
 	{
 		Type t = new TypeSlice(next.syntaxCopy(), lwr.syntaxCopy(), upr.syntaxCopy());
 		t.mod = mod;
 		return t;
 	}
 	
-    Type semantic(Loc loc, Scope sc)
+    override Type semantic(Loc loc, Scope sc)
 	{
 		//printf("TypeSlice.semantic() %s\n", toChars());
 		next = next.semantic(loc, sc);
@@ -89,7 +89,7 @@
 		return new TypeTuple(args);
 	}
 	
-    void resolve(Loc loc, Scope sc, Expression* pe, Type* pt, Dsymbol* ps)
+    override void resolve(Loc loc, Scope sc, Expression* pe, Type* pt, Dsymbol* ps)
 	{
 		next.resolve(loc, sc, pe, pt, ps);
 		if (*pe)
@@ -155,8 +155,8 @@
 		}
 	}
 	
-    void toCBuffer2(OutBuffer buf, HdrGenState* hgs, MOD mod)
+    override void toCBuffer2(OutBuffer buf, HdrGenState* hgs, MOD mod)
 	{
 		assert(false);
 	}
-}
\ No newline at end of file
+}