diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-04-19 01:04:21 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-04-19 01:04:21 +0000 |
| commit | 34d9a5189222602540fd8a20ede94bf18a294f9a (patch) | |
| tree | c3275cc8f4f5997b2bdff25e314fe59359539e6f /clang/lib/AST/StmtSerialization.cpp | |
| parent | bf90b33665529d923dcdca58a1a17d4d2add7bf6 (diff) | |
| download | bcm5719-llvm-34d9a5189222602540fd8a20ede94bf18a294f9a.tar.gz bcm5719-llvm-34d9a5189222602540fd8a20ede94bf18a294f9a.zip | |
Add location info for indirect goto.
llvm-svn: 69497
Diffstat (limited to 'clang/lib/AST/StmtSerialization.cpp')
| -rw-r--r-- | clang/lib/AST/StmtSerialization.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/StmtSerialization.cpp b/clang/lib/AST/StmtSerialization.cpp index 0d920fa23e3..7a37a16550d 100644 --- a/clang/lib/AST/StmtSerialization.cpp +++ b/clang/lib/AST/StmtSerialization.cpp @@ -691,7 +691,7 @@ void IndirectGotoStmt::EmitImpl(Serializer& S) const { IndirectGotoStmt* IndirectGotoStmt::CreateImpl(Deserializer& D, ASTContext& C) { Expr* Target = D.ReadOwnedPtr<Expr>(C); - return new IndirectGotoStmt(Target); + return new IndirectGotoStmt(SourceLocation(), Target); } void InitListExpr::EmitImpl(Serializer& S) const { |

