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>.

llvm-svn: 103307
2 files changed
tree: 13763cd63579b21a19828572b627a1b0dd06886d
  1. clang/
  2. compiler-rt/
  3. llvm/