diff dmd/UnitTestDeclaration.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 832f71e6f96c
children 5c859d5fbe27
line wrap: on
line diff
--- a/dmd/UnitTestDeclaration.d	Sat Aug 28 16:14:07 2010 +0200
+++ b/dmd/UnitTestDeclaration.d	Sat Aug 28 16:19:48 2010 +0200
@@ -32,7 +32,7 @@
 		super(loc, endloc, unitTestId(), STC.STCundefined, null);
 	}
 
-    Dsymbol syntaxCopy(Dsymbol s)
+    override Dsymbol syntaxCopy(Dsymbol s)
 	{
 		UnitTestDeclaration utd;
 
@@ -42,7 +42,7 @@
 		return FuncDeclaration.syntaxCopy(utd);
 	}
 
-    void semantic(Scope sc)
+    override void semantic(Scope sc)
 	{
 		if (global.params.useUnitTests)
 		{
@@ -63,30 +63,30 @@
 			m.needmoduleinfo = 1;
 	}
 
-    AggregateDeclaration isThis()
+    override AggregateDeclaration isThis()
 	{
 		return null;
 	}
 
-    bool isVirtual()
+    override bool isVirtual()
 	{
 		return false;
 	}
 
-    bool addPreInvariant()
+    override bool addPreInvariant()
 	{
 		return false;
 	}
 
-    bool addPostInvariant()
+    override bool addPostInvariant()
 	{
 		return false;
 	}
 
-    void toCBuffer(OutBuffer buf, HdrGenState* hgs)
+    override void toCBuffer(OutBuffer buf, HdrGenState* hgs)
 	{
 		assert(false);
 	}
 
-    UnitTestDeclaration isUnitTestDeclaration() { return this; }
-}
\ No newline at end of file
+    override UnitTestDeclaration isUnitTestDeclaration() { return this; }
+}