commit | 1aef6211e5af49007fb102a46e0cab59c33415cc | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Sep 13 01:17:29 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Sep 13 01:17:29 2007 +0000 |
tree | 4bfb33530f0aa851dbcf193f84340375beef760e | |
parent | 409dfd126d424555116e0c561e95d961b6dbd7fb [diff] [blame] |
When dumping out errors about unsupported stuff, emit loc info. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41907 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/CodeGen/CGStmt.cpp b/CodeGen/CGStmt.cpp index 3a4fd95..fa15c2e 100644 --- a/CodeGen/CGStmt.cpp +++ b/CodeGen/CGStmt.cpp
@@ -39,7 +39,7 @@ EmitAggExpr(E, 0, false); } else { printf("Unimplemented stmt!\n"); - S->dump(); + S->dump(getContext().SourceMgr); } break; case Stmt::NullStmtClass: break;