diff dmd/OrOrExp.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 cab4c37afb89
children e28b18c23469
line wrap: on
line diff
--- a/dmd/OrOrExp.d	Sat Aug 28 16:14:07 2010 +0200
+++ b/dmd/OrOrExp.d	Sat Aug 28 16:19:48 2010 +0200
@@ -28,7 +28,7 @@
 		super(loc, TOK.TOKoror, OrOrExp.sizeof, e1, e2);
 	}
 	
-    Expression semantic(Scope sc)
+    override Expression semantic(Scope sc)
 	{
 		uint cs1;
 
@@ -63,18 +63,18 @@
 		return this;
 	}
 
-    Expression checkToBoolean()
+    override Expression checkToBoolean()
 	{
 		e2 = e2.checkToBoolean();
 		return this;
 	}
 	
-    int isBit()
+    override int isBit()
 	{
 		assert(false);
 	}
 	
-    Expression optimize(int result)
+    override Expression optimize(int result)
 	{
 		Expression e;
 
@@ -108,12 +108,12 @@
 		return e;
 	}
 	
-    Expression interpret(InterState istate)
+    override Expression interpret(InterState istate)
 	{
 		assert(false);
 	}
 
-    bool checkSideEffect(int flag)
+    override bool checkSideEffect(int flag)
 	{
 		if (flag == 2)
 		{
@@ -126,11 +126,11 @@
 		}
 	}
 
-    elem* toElem(IRState* irs)
+    override elem* toElem(IRState* irs)
 	{
 		elem* e = toElemBin(irs,OPoror);
 		if (global.params.cov && e2.loc.linnum)
 			e.E2() = el_combine(incUsageElem(irs, e2.loc), e.E2);
 		return e;
 	}
-}
\ No newline at end of file
+}