On Tue, Nov 11, 2014 at 12:41 PM, Anton Korobeynikov < [email protected]> wrote:
> The type is definitely ignored. However, for (a ? lhs : rhs) we should > promote both lhs and rhs to their common type, right? And currently this is > performed inside UsualArithmeticConversions (or, actually, inside > handleComplexFloatConversion). Should we duplicate the behavior of > handleComplexFloatConversion inside CheckConditionalOperands ? No. Take the result of UsualArithmeticConversions and use that as the result of the conditional.
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
