summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/CodeGen/CGStmt.cpp')
-rw-r--r--clang/lib/CodeGen/CGStmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp
index bfcddd2df35..daad0626196 100644
--- a/clang/lib/CodeGen/CGStmt.cpp
+++ b/clang/lib/CodeGen/CGStmt.cpp
@@ -52,7 +52,7 @@ void CodeGenFunction::EmitStmt(const Stmt *S) {
else
EmitAggExpr(E, 0, false);
} else {
- WarnUnsupported(S, "statement");
+ ErrorUnsupported(S, "statement");
}
break;
case Stmt::NullStmtClass: break;
OpenPOWER on IntegriCloud