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 ?
REPOSITORY rL LLVM http://reviews.llvm.org/D6217 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
