diff options
Diffstat (limited to 'clang/lib/CodeGen/CGStmt.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGStmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp index da586b1d74c..b13b9e529d3 100644 --- a/clang/lib/CodeGen/CGStmt.cpp +++ b/clang/lib/CodeGen/CGStmt.cpp @@ -58,7 +58,7 @@ void CodeGenFunction::EmitStmt(const Stmt *S) { // Must be an expression in a stmt context. Emit the value (to get // side-effects) and ignore the result. if (const Expr *E = dyn_cast<Expr>(S)) { - EmitAnyExpr(E); + EmitAnyExpr(E, 0, false, true); } else { ErrorUnsupported(S, "statement"); } |

