From 488e993a135ce700b982bf099c3d6b856301d642 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 16 Aug 2008 00:56:44 +0000 Subject: 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 --- lib/CodeGen/CGExprAgg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/CodeGen/CGExprAgg.cpp') diff --git a/lib/CodeGen/CGExprAgg.cpp b/lib/CodeGen/CGExprAgg.cpp index 5fa7ef5c52..019d7be50c 100644 --- a/lib/CodeGen/CGExprAgg.cpp +++ b/lib/CodeGen/CGExprAgg.cpp @@ -60,7 +60,7 @@ public: //===--------------------------------------------------------------------===// void VisitStmt(Stmt *S) { - CGF.WarnUnsupported(S, "aggregate expression"); + CGF.ErrorUnsupported(S, "aggregate expression"); } void VisitParenExpr(ParenExpr *PE) { Visit(PE->getSubExpr()); } @@ -235,7 +235,7 @@ void AggExprEmitter::VisitStmtExpr(const StmtExpr *E) { } void AggExprEmitter::VisitBinaryOperator(const BinaryOperator *E) { - CGF.WarnUnsupported(E, "aggregate binary expression"); + CGF.ErrorUnsupported(E, "aggregate binary expression"); } void AggExprEmitter::VisitBinAssign(const BinaryOperator *E) { -- cgit v1.2.3