diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2008-08-16 00:56:44 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2008-08-16 00:56:44 +0000 |
| commit | a7c8cf620076008474d71cb0b0dab48cdbf90c11 (patch) | |
| tree | f3b1e58f700d97bbd6d51af8a9382fb7502b2c19 /clang/lib/CodeGen/CGExprComplex.cpp | |
| parent | ceba6ead45be421ff99c3b3cfd7e3762946541ec (diff) | |
| download | llvm-a7c8cf620076008474d71cb0b0dab48cdbf90c11.zip llvm-a7c8cf620076008474d71cb0b0dab48cdbf90c11.tar.gz llvm-a7c8cf620076008474d71cb0b0dab48cdbf90c11.tar.bz2 | |
Change WarnUnsupported to ErrorUnsupported (in name and in practice).
- We are beyond the point where this shows up often and when it does
generating miscompiled files is bad.
llvm-svn: 54836
Diffstat (limited to 'clang/lib/CodeGen/CGExprComplex.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGExprComplex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExprComplex.cpp b/clang/lib/CodeGen/CGExprComplex.cpp index dacbd86..ba384e7 100644 --- a/clang/lib/CodeGen/CGExprComplex.cpp +++ b/clang/lib/CodeGen/CGExprComplex.cpp @@ -228,7 +228,7 @@ void ComplexExprEmitter::EmitStoreOfComplex(ComplexPairTy Val, llvm::Value *Ptr, //===----------------------------------------------------------------------===// ComplexPairTy ComplexExprEmitter::VisitExpr(Expr *E) { - CGF.WarnUnsupported(E, "complex expression"); + CGF.ErrorUnsupported(E, "complex expression"); const llvm::Type *EltTy = CGF.ConvertType(E->getType()->getAsComplexType()->getElementType()); llvm::Value *U = llvm::UndefValue::get(EltTy); |
