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
diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp
index bfcddd2..daad062 100644
--- a/lib/CodeGen/CGStmt.cpp
+++ b/lib/CodeGen/CGStmt.cpp
@@ -52,7 +52,7 @@
else
EmitAggExpr(E, 0, false);
} else {
- WarnUnsupported(S, "statement");
+ ErrorUnsupported(S, "statement");
}
break;
case Stmt::NullStmtClass: break;