commit | abd3a857ace59100305790545d1baae5877b8945 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Fri May 07 22:08:54 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Fri May 07 22:08:54 2010 +0000 |
tree | b9fb48abaa4e5510761b2edf5b5a38b9195c9032 | |
parent | 6ad9ac097918fbdeb443ea7b99d4db9e49b28534 [diff] |
The FP constant evaluator was missing a few cases of unary operators that return floats but whose operand isn't a float: specifically, __real__ and __imag__. Instead of filtering these out, just implement them. Fixes <rdar://problem/7958272>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103307 91177308-0d34-0410-b5e6-96231b3b80d8