summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-19 01:04:21 +0000
committerChris Lattner <sabre@nondot.org>2009-04-19 01:04:21 +0000
commit34d9a5189222602540fd8a20ede94bf18a294f9a (patch)
treec3275cc8f4f5997b2bdff25e314fe59359539e6f /clang/lib/AST
parentbf90b33665529d923dcdca58a1a17d4d2add7bf6 (diff)
downloadbcm5719-llvm-34d9a5189222602540fd8a20ede94bf18a294f9a.tar.gz
bcm5719-llvm-34d9a5189222602540fd8a20ede94bf18a294f9a.zip
Add location info for indirect goto.
llvm-svn: 69497
Diffstat (limited to 'clang/lib/AST')
-rw-r--r--clang/lib/AST/StmtSerialization.cpp2
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 {
OpenPOWER on IntegriCloud