diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2008-05-16 20:37:07 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2008-05-16 20:37:07 +0000 |
commit | 5835ea2118560258ab7ee6c6dbbca30b57c58b10 (patch) | |
tree | 679a71de84d41ac41dc0183f82b12dfc6ebadc02 /lib/Analysis/GRExprEngine.cpp | |
parent | 24512501319aa6d7f70b1bd79470df0197b832c8 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51202 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
0 files changed, 0 insertions, 0 deletions