Skip to content
Commit 928ab4d5 authored by Eli Friedman's avatar Eli Friedman
Browse files

Sema-based fix for PR2334. The issue is that even if the two sides of

the condidtional have compatible types, they are not necessarily the 
same type.  Therefore, we cast to the composite type.  As a hack, for 
the moment we assume that the composite type is the type of the 
left-hand expression; this isn't correct, but it's good enough for most 
purposes.

llvm-svn: 51202
parent 2e1d5e48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment