@@ -73,6 +73,12 @@ extern __gshared list_t symlist; // for C
73
73
/* private*/ int paramlstcompat(param_t * ,param_t * );
74
74
/* private*/ elem * strarg(elem * e);
75
75
/* private*/ elem * exp2_castx(elem * e,type * newt,elem ** pethis,int flags);
76
+ /* private*/ int c1isbaseofc2x(elem ** pethis,Symbol * c1,Symbol * c2,Classsym ** psvirtual);
77
+ int type_exception_spec_match (type * t1, type * t2);
78
+ /* private*/ elem * defaultpromotions(elem * e);
79
+ /* private*/ elem * exp2_simpledtor(elem * e,type * t);
80
+ /* private*/ type * exp2_issimpletypename();
81
+
76
82
77
83
/* Array to give the 'relaxed' type for relaxed type checking */
78
84
extern __gshared ubyte [TYMAX ] _tyrelax;
@@ -87,6 +93,7 @@ int REGSIZE() { return _tysize[TYnptr]; }
87
93
88
94
version (none )
89
95
{
96
+ }
90
97
91
98
/* ******************************
92
99
* Read list of comma-separated arguments into *parglist.
@@ -2673,7 +2680,7 @@ void chkarithmetic(elem *e)
2673
2680
elem_debug(e);
2674
2681
t2 = null ;
2675
2682
if (! tyarithmetic(e.EV .E1 .ET .Tty) ||
2676
- ! OTleaf (e.Eoper) && ! tyarithmetic((t2 = e.EV .E2 .ET ).Tty))
2683
+ OTbinary (e.Eoper) && ! tyarithmetic((t2 = e.EV .E2 .ET ).Tty))
2677
2684
typerr(EM_illegal_op_types,e.EV .E1 .ET ,t2); // illegal operand types
2678
2685
}
2679
2686
@@ -2687,7 +2694,7 @@ void chkintegral(elem *e)
2687
2694
elem_debug(e);
2688
2695
t2 = null ;
2689
2696
if (! tyintegral(e.EV .E1 .ET .Tty) ||
2690
- ! OTleaf (e.Eoper) && ! tyintegral((t2 = e.EV .E2 .ET ).Tty))
2697
+ OTbinary (e.Eoper) && ! tyintegral((t2 = e.EV .E2 .ET ).Tty))
2691
2698
{
2692
2699
typerr(EM_illegal_op_types,e.EV .E1 .ET ,t2); // illegal operand types
2693
2700
}
@@ -3541,8 +3548,6 @@ int t1isbaseoft2(type *t1,type *t2)
3541
3548
* levels * 0x100 number of inheritance levels down c1 is from c2
3542
3549
*/
3543
3550
3544
- /* private*/ int c1isbaseofc2x(elem ** pethis,Symbol * c1,Symbol * c2,Classsym ** psvirtual);
3545
-
3546
3551
int c1isbaseofc2 (elem ** pethis,Symbol * c1,Symbol * c2)
3547
3552
{ Classsym * svirtual;
3548
3553
@@ -5180,7 +5185,6 @@ void getinc(elem *e)
5180
5185
}
5181
5186
}
5182
5187
5183
- }
5184
5188
5185
5189
}
5186
5190
0 commit comments