diff options
author | John McCall <rjmccall@apple.com> | 2010-11-13 09:02:35 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-11-13 09:02:35 +0000 |
commit | 2bb5d00fcf71a7b4d478d478be778fff0494aff6 (patch) | |
tree | 6531cfddf6e5a68ed2c668aeb48fff2a03039995 /lib/CodeGen/CGExprComplex.cpp | |
parent | cf33b24441798f538fb5ab089edbba2ac3ba819c (diff) |
Introduce five new cast kinds for various conversions into and
between complex types.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118994 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
-rw-r--r-- | lib/CodeGen/CGExprComplex.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CGExprComplex.cpp b/lib/CodeGen/CGExprComplex.cpp index 517a8da34d..637441f4e1 100644 --- a/lib/CodeGen/CGExprComplex.cpp +++ b/lib/CodeGen/CGExprComplex.cpp @@ -350,6 +350,8 @@ ComplexPairTy ComplexExprEmitter::EmitComplexToComplexCast(ComplexPairTy Val, ComplexPairTy ComplexExprEmitter::EmitCast(CastExpr::CastKind CK, Expr *Op, QualType DestTy) { + // FIXME: this should be based off of the CastKind. + // Two cases here: cast from (complex to complex) and (scalar to complex). if (Op->getType()->isAnyComplexType()) return EmitComplexToComplexCast(Visit(Op), Op->getType(), DestTy); |