diff dmd/Module.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 9fe59705c82d
children ef02e2e203c2
line wrap: on
line diff
--- a/dmd/Module.d	Sat Aug 28 16:14:07 2010 +0200
+++ b/dmd/Module.d	Sat Aug 28 16:19:48 2010 +0200
@@ -393,12 +393,12 @@
 		return m;
 	}
 
-    void toCBuffer(OutBuffer buf, HdrGenState* hgs)
+    override void toCBuffer(OutBuffer buf, HdrGenState* hgs)
 	{
 		assert(false);
 	}
 	
-    string kind()
+    override string kind()
 	{
 		return "module";
 	}
@@ -796,7 +796,7 @@
 		semanticRun = semanticstarted;
 	}
 	
-    void inlineScan()	// scan for functions to inline
+    override void inlineScan()	// scan for functions to inline
 	{
 		int i;
 
@@ -1154,7 +1154,7 @@
 		return needmoduleinfo || global.params.cov;
 	}
 	
-    Dsymbol search(Loc loc, Identifier ident, int flags)
+    override Dsymbol search(Loc loc, Identifier ident, int flags)
 	{
 		/* Since modules can be circularly referenced,
 		 * need to stop infinite recursive searches.
@@ -1390,7 +1390,7 @@
 	/*************************************
 	 * Create the "ModuleInfo" symbol
 	 */
-    Symbol* toSymbol()
+    override Symbol* toSymbol()
 	{
 		if (!csym)
 		{
@@ -1579,5 +1579,5 @@
 		obj_moduleinfo(msym);
 	}
 
-    Module isModule() { return this; }
+    override Module isModule() { return this; }
 }