aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-14 03:20:38 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-14 03:20:38 +0000
commitad42f06f998c45faed641180d852e46177e695cf (patch)
tree704d7fd67010e09fa9d414101438a255007bd53a
parentc7377632d08e9a6492779b7241b76cbc42304050 (diff)
In Stmt::printPretty(), pass the SourceManager to dump().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75606 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/AST/StmtPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/StmtPrinter.cpp b/lib/AST/StmtPrinter.cpp
index fec17fb223..26732d4d29 100644
--- a/lib/AST/StmtPrinter.cpp
+++ b/lib/AST/StmtPrinter.cpp
@@ -1241,7 +1241,7 @@ void Stmt::printPretty(llvm::raw_ostream &OS, ASTContext& Context,
}
if (Policy.Dump) {
- dump();
+ dump(Context.getSourceManager());
return;
}