diff dmd/TypeReturn.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 5a2059196104
children e28b18c23469
line wrap: on
line diff
--- a/dmd/TypeReturn.d	Sat Aug 28 16:14:07 2010 +0200
+++ b/dmd/TypeReturn.d	Sat Aug 28 16:19:48 2010 +0200
@@ -26,7 +26,7 @@
 	}
 }
 	
-    Type syntaxCopy()
+    override Type syntaxCopy()
 	{
 		TypeReturn t = new TypeReturn(loc);
 		t.syntaxCopyHelper(this);
@@ -34,7 +34,7 @@
 		return t;
 	}
 
-    Dsymbol toDsymbol(Scope sc)
+    override Dsymbol toDsymbol(Scope sc)
 	{
 		Type t = semantic(Loc(0), sc);
 		if (t is this)
@@ -43,7 +43,7 @@
 		return t.toDsymbol(sc);
 	}
 	
-    Type semantic(Loc loc, Scope sc)
+    override Type semantic(Loc loc, Scope sc)
 	{
 		Type t;
 		if (!sc.func)
@@ -86,8 +86,8 @@
 		return terror;
 	}
 	
-    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
+}