diff dmd/ScopeExp.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 10317f0c89a5
children e28b18c23469
line wrap: on
line diff
--- a/dmd/ScopeExp.d	Sat Aug 28 16:14:07 2010 +0200
+++ b/dmd/ScopeExp.d	Sat Aug 28 16:19:48 2010 +0200
@@ -1,41 +1,41 @@
-module dmd.ScopeExp;
-
-import dmd.Expression;
-import dmd.backend.elem;
-import dmd.ScopeDsymbol;
+module dmd.ScopeExp;
+
+import dmd.Expression;
+import dmd.backend.elem;
+import dmd.ScopeDsymbol;
 import dmd.OutBuffer;
-import dmd.TemplateInstance;
-import dmd.Loc;
-import dmd.TOK;
-import dmd.Scope;
-import dmd.IRState;
+import dmd.TemplateInstance;
+import dmd.Loc;
+import dmd.TOK;
+import dmd.Scope;
+import dmd.IRState;
 import dmd.HdrGenState;
 import dmd.Global;
 import dmd.Dsymbol;
 import dmd.VarExp;
 import dmd.DotVarExp;
 import dmd.DsymbolExp;
-import dmd.Type;
-
+import dmd.Type;
+
 class ScopeExp : Expression
 {
 	ScopeDsymbol sds;
 
 	this(Loc loc, ScopeDsymbol pkg)
-	{
+	{
 		super(loc, TOK.TOKimport, ScopeExp.sizeof);
 		//printf("ScopeExp.ScopeExp(pkg = '%s')\n", pkg.toChars());
 		//static int count; if (++count == 38) *(char*)0=0;
 		this.sds = pkg;
 	}
 
-	Expression syntaxCopy()
+	override Expression syntaxCopy()
 	{
 		ScopeExp se = new ScopeExp(loc, cast(ScopeDsymbol)sds.syntaxCopy(null));
 		return se;
 	}
 
-	Expression semantic(Scope sc)
+	override Expression semantic(Scope sc)
 	{
 		TemplateInstance ti;
 		ScopeDsymbol sds2;
@@ -88,12 +88,12 @@
 		return this;
 	}
 
-	elem* toElem(IRState* irs)
+	override elem* toElem(IRState* irs)
 	{
 		assert(false);
 	}
 
-	void toCBuffer(OutBuffer buf, HdrGenState* hgs)
+	override void toCBuffer(OutBuffer buf, HdrGenState* hgs)
 	{
 		if (sds.isTemplateInstance())
 		{