[PATCH] Fix fallout from r219557

Anton Korobeynikov anton at korobeynikov.info
Tue Nov 11 12:41:51 PST 2014


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






More information about the cfe-commits mailing list