@@ -73,6 +73,12 @@ extern __gshared list_t symlist; // for C
7373/* private*/ int paramlstcompat(param_t * ,param_t * );
7474/* private*/ elem * strarg(elem * e);
7575/* 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+
7682
7783/* Array to give the 'relaxed' type for relaxed type checking */
7884extern __gshared ubyte [TYMAX ] _tyrelax;
@@ -87,6 +93,7 @@ int REGSIZE() { return _tysize[TYnptr]; }
8793
8894version (none )
8995{
96+ }
9097
9198/* ******************************
9299 * Read list of comma-separated arguments into *parglist.
@@ -2673,7 +2680,7 @@ void chkarithmetic(elem *e)
26732680 elem_debug(e);
26742681 t2 = null ;
26752682 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))
26772684 typerr(EM_illegal_op_types,e.EV .E1 .ET ,t2); // illegal operand types
26782685}
26792686
@@ -2687,7 +2694,7 @@ void chkintegral(elem *e)
26872694 elem_debug(e);
26882695 t2 = null ;
26892696 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))
26912698 {
26922699 typerr(EM_illegal_op_types,e.EV .E1 .ET ,t2); // illegal operand types
26932700 }
@@ -3541,8 +3548,6 @@ int t1isbaseoft2(type *t1,type *t2)
35413548 * levels * 0x100 number of inheritance levels down c1 is from c2
35423549 */
35433550
3544- /* private*/ int c1isbaseofc2x(elem ** pethis,Symbol * c1,Symbol * c2,Classsym ** psvirtual);
3545-
35463551int c1isbaseofc2 (elem ** pethis,Symbol * c1,Symbol * c2)
35473552{ Classsym * svirtual;
35483553
@@ -5180,7 +5185,6 @@ void getinc(elem *e)
51805185 }
51815186}
51825187
5183- }
51845188
51855189}
51865190
0 commit comments