diff options
Diffstat (limited to 'clang/CodeGen/CGExprComplex.cpp')
-rw-r--r-- | clang/CodeGen/CGExprComplex.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/CodeGen/CGExprComplex.cpp b/clang/CodeGen/CGExprComplex.cpp index 085e83762a5..3368c2801d8 100644 --- a/clang/CodeGen/CGExprComplex.cpp +++ b/clang/CodeGen/CGExprComplex.cpp @@ -232,8 +232,7 @@ void ComplexExprEmitter::EmitStoreOfComplex(ComplexPairTy Val, llvm::Value *Ptr, //===----------------------------------------------------------------------===// ComplexPairTy ComplexExprEmitter::VisitExpr(Expr *E) { - fprintf(stderr, "Unimplemented complex expr!\n"); - E->dump(CGF.getContext().SourceMgr); + CGF.WarnUnsupported(E, "complex expression"); const llvm::Type *EltTy = CGF.ConvertType(E->getType()->getAsComplexType()->getElementType()); llvm::Value *U = llvm::UndefValue::get(EltTy); |