diff dmd/TypeidExp.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/TypeidExp.d	Sat Aug 28 16:14:07 2010 +0200
+++ b/dmd/TypeidExp.d	Sat Aug 28 16:19:48 2010 +0200
@@ -1,13 +1,13 @@
-module dmd.TypeidExp;
-
-import dmd.Expression;
-import dmd.Type;
-import dmd.OutBuffer;
-import dmd.Loc;
-import dmd.Scope;
-import dmd.HdrGenState;
-import dmd.TOK;
-
+module dmd.TypeidExp;
+
+import dmd.Expression;
+import dmd.Type;
+import dmd.OutBuffer;
+import dmd.Loc;
+import dmd.Scope;
+import dmd.HdrGenState;
+import dmd.TOK;
+
 class TypeidExp : Expression
 {
 	Type typeidType;
@@ -17,20 +17,20 @@
 		super(loc, TOK.TOKtypeid, TypeidExp.sizeof);
 		this.typeidType = typeidType;
 	}
-
-version (DumbClone) {
-} else {
-	Type clone()
-	{
-		assert(false);
-	}
+
+version (DumbClone) {
+} else {
+	Type clone()
+	{
+		assert(false);
+	}
 }
-	Expression syntaxCopy()
+	override Expression syntaxCopy()
 	{
 		return new TypeidExp(loc, typeidType.syntaxCopy());
 	}
 
-	Expression semantic(Scope sc)
+	override Expression semantic(Scope sc)
 	{
 		Expression e;
 
@@ -44,7 +44,7 @@
 		return e;
 	}
 
-	void toCBuffer(OutBuffer buf, HdrGenState* hgs)
+	override void toCBuffer(OutBuffer buf, HdrGenState* hgs)
 	{
 		assert(false);
 	}