Remove now-unused function PrintableSourceRange
This commit is contained in:
parent
2b596dae66
commit
155c3a5673
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue