Remove now-unused function PrintableSourceRange

This commit is contained in:
Kim Grasman 2019-01-19 10:00:29 +01:00 committed by Kim Gräsman
parent 2b596dae66
commit 155c3a5673
2 changed files with 0 additions and 5 deletions

View File

@ -424,10 +424,6 @@ string PrintableLoc(SourceLocation loc) {
}
}
string PrintableSourceRange(SourceRange range) {
return PrintableLoc(range.getBegin()) + " - " + PrintableLoc(range.getEnd());
}
string PrintableDecl(const Decl* decl, bool terse/*=true*/) {
// Use the terse flag to limit the level of output to one line.
clang::PrintingPolicy policy = decl->getASTContext().getPrintingPolicy();

View File

@ -428,7 +428,6 @@ const clang::DeclContext* GetDeclContext(const ASTNode* ast_node);
// --- Printers.
string PrintableLoc(clang::SourceLocation loc);
string PrintableSourceRange(clang::SourceRange range);
string PrintableDecl(const clang::Decl* decl, bool terse=true);
string PrintableStmt(const clang::Stmt* stmt);
string PrintableType(const clang::Type* type);