[Lldb-commits] [lldb] r367978 - [Gardening] Remove dead code from ASTDumper (NFC)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 5 21:46:02 PDT 2019
Author: jdevlieghere
Date: Mon Aug 5 21:46:02 2019
New Revision: 367978
URL: http://llvm.org/viewvc/llvm-project?rev=367978&view=rev
Log:
[Gardening] Remove dead code from ASTDumper (NFC)
These functions are not referenced.
Modified:
lldb/trunk/source/Plugins/ExpressionParser/Clang/ASTDumper.cpp
Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/ASTDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ExpressionParser/Clang/ASTDumper.cpp?rev=367978&r1=367977&r2=367978&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ExpressionParser/Clang/ASTDumper.cpp (original)
+++ lldb/trunk/source/Plugins/ExpressionParser/Clang/ASTDumper.cpp Mon Aug 5 21:46:02 2019
@@ -75,8 +75,6 @@ ASTDumper::ASTDumper(const CompilerType
const char *ASTDumper::GetCString() { return m_dump.c_str(); }
-void ASTDumper::ToSTDERR() { fprintf(stderr, "%s\n", m_dump.c_str()); }
-
void ASTDumper::ToLog(Log *log, const char *prefix) {
size_t len = m_dump.length() + 1;
@@ -104,5 +102,3 @@ void ASTDumper::ToLog(Log *log, const ch
free(alloc);
}
-
-void ASTDumper::ToStream(lldb::StreamSP &stream) { stream->PutCString(m_dump); }
More information about the lldb-commits
mailing list