summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-08-16 00:56:44 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-08-16 00:56:44 +0000
commit488e993a135ce700b982bf099c3d6b856301d642 (patch)
tree56ae14c8665f94f96e94f60fd083493d24e3250a /lib/CodeGen/CGExprComplex.cpp
parent1c72ef092f3d931639cf44b4f4f9d0eedc1baa8f (diff)
downloadclang-488e993a135ce700b982bf099c3d6b856301d642.tar.gz
clang-488e993a135ce700b982bf099c3d6b856301d642.tar.bz2
clang-488e993a135ce700b982bf099c3d6b856301d642.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54836 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
-rw-r--r--lib/CodeGen/CGExprComplex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExprComplex.cpp b/lib/CodeGen/CGExprComplex.cpp
index dacbd865c3..ba384e7f4f 100644
--- a/lib/CodeGen/CGExprComplex.cpp
+++ b/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);