aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2014-11-12 22:19:06 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2014-11-12 22:19:06 +0000
commit0140aa8756d5a8fa58a0a02b306aa685d22caa42 (patch)
treeb838d4bf9281299bd78cb96ea415ceefa4953c38 /clang/lib/CodeGen/CodeGenModule.cpp
parent0788d49a402570cdfb1cd2e108bf7c6e652e139a (diff)
downloadllvm-0140aa8756d5a8fa58a0a02b306aa685d22caa42.zip
llvm-0140aa8756d5a8fa58a0a02b306aa685d22caa42.tar.gz
llvm-0140aa8756d5a8fa58a0a02b306aa685d22caa42.tar.bz2
Fix fallout from r219557
Summary: Consider the following nifty 1 liner: (0 ? csqrtl(2.0f) : sqrtl(2.0f)). One can easily obtain such code from e.g. tgmath. Right now it produces an assertion because we fail to do the promotion real => _Complex real. The case was properly handled previously (old handleOtherComplexFloatConversion routine), but was forgotten in the current version. This seems to be about fallout from r219557 Reviewers: chandlerc, rsmith Reviewed By: rsmith Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D6217 llvm-svn: 221821
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions