comparison dmd/InExp.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 f708f0452e81
children 43073c7c7769
comparison
equal deleted inserted replaced
71:8e24ef1dd139 72:2e2a5c3f943a
26 this(Loc loc, Expression e1, Expression e2) 26 this(Loc loc, Expression e1, Expression e2)
27 { 27 {
28 super(loc, TOKin, InExp.sizeof, e1, e2); 28 super(loc, TOKin, InExp.sizeof, e1, e2);
29 } 29 }
30 30
31 Expression semantic(Scope sc) 31 override Expression semantic(Scope sc)
32 { 32 {
33 if (type) 33 if (type)
34 return this; 34 return this;
35 35
36 super.semanticp(sc); 36 super.semanticp(sc);
61 type = ta.nextOf().pointerTo(); 61 type = ta.nextOf().pointerTo();
62 } 62 }
63 return this; 63 return this;
64 } 64 }
65 65
66 int isBit() 66 override int isBit()
67 { 67 {
68 return 0; 68 return 0;
69 } 69 }
70 70
71 Identifier opId() 71 override Identifier opId()
72 { 72 {
73 return Id.opIn; 73 return Id.opIn;
74 } 74 }
75 75
76 Identifier opId_r() 76 override Identifier opId_r()
77 { 77 {
78 return Id.opIn_r; 78 return Id.opIn_r;
79 } 79 }
80 80
81 elem* toElem(IRState* irs) 81 override elem* toElem(IRState* irs)
82 { 82 {
83 elem* e; 83 elem* e;
84 elem* key = e1.toElem(irs); 84 elem* key = e1.toElem(irs);
85 elem* aa = e2.toElem(irs); 85 elem* aa = e2.toElem(irs);
86 elem* ep; 86 elem* ep;