aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/AST/CommentParser.cpp
diff options
context:
space:
mode:
authorBruno Ricci <riccibrun@gmail.com>2020-07-02 19:38:46 +0100
committerBruno Ricci <riccibrun@gmail.com>2020-07-02 19:40:09 +0100
commitfcf4d5e4499a391dff42ea1a096f146db44147b6 (patch)
tree8fd0fc6cf32201187d0797e3f29ce491d4262b09 /clang/unittests/AST/CommentParser.cpp
parent670dbad473270a2bd46fc611bd48472685403ed6 (diff)
downloadllvm-fcf4d5e4499a391dff42ea1a096f146db44147b6.zip
llvm-fcf4d5e4499a391dff42ea1a096f146db44147b6.tar.gz
llvm-fcf4d5e4499a391dff42ea1a096f146db44147b6.tar.bz2
Revert "[clang][NFC] Store a pointer to the ASTContext in ASTDumper and TextNodeDumper"
This reverts commit aa7fd905e4e1bc510448431da9310e8cf5197523. I missed some dump() functions.
Diffstat (limited to 'clang/unittests/AST/CommentParser.cpp')
-rw-r--r--clang/unittests/AST/CommentParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/AST/CommentParser.cpp b/clang/unittests/AST/CommentParser.cpp
index ba8b34e..327cabd 100644
--- a/clang/unittests/AST/CommentParser.cpp
+++ b/clang/unittests/AST/CommentParser.cpp
@@ -64,7 +64,7 @@ FullComment *CommentParserTest::parseString(const char *Source) {
if (MY_DEBUG) {
llvm::errs() << "=== Source:\n" << Source << "\n=== AST:\n";
- FC->dump();
+ FC->dump(llvm::errs(), &Traits, &SourceMgr);
}
Token Tok;