diff dmd/TypeInfoDeclaration.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 fd4acc376c45
children 43073c7c7769
line wrap: on
line diff
--- a/dmd/TypeInfoDeclaration.d	Sat Aug 28 16:14:07 2010 +0200
+++ b/dmd/TypeInfoDeclaration.d	Sat Aug 28 16:19:48 2010 +0200
@@ -18,7 +18,7 @@
 import dmd.backend.glue;
 import dmd.backend.Util;
 import dmd.backend.TYPE;
-
+
 import core.stdc.stdio;
 
 class TypeInfoDeclaration : VarDeclaration
@@ -41,28 +41,28 @@
 		assert(false);
 	}
 }
-    Dsymbol syntaxCopy(Dsymbol)
+    override Dsymbol syntaxCopy(Dsymbol)
 	{
 		assert(false);
 	}
 
-    void semantic(Scope sc)
+    override void semantic(Scope sc)
 	{
 		assert(false);
 	}
 
-    void emitComment(Scope sc)
+    override void emitComment(Scope sc)
 	{
 		assert(false);
 	}
 
-    Symbol* toSymbol()
+    override Symbol* toSymbol()
 	{
 		//printf("TypeInfoDeclaration::toSymbol(%s), linkage = %d\n", toChars(), linkage);
 		return VarDeclaration.toSymbol();
 	}
 
-    void toObjFile(int multiobj)			// compile to .obj file
+    override void toObjFile(int multiobj)			// compile to .obj file
 	{
 		Symbol* s;
 		uint sz;
@@ -112,4 +112,4 @@
 	{
 		assert(false);
 	}
-}
+}