From: Rafael Espindola Date: Thu, 13 Jun 2013 16:57:07 +0000 (+0000) Subject: Use version of DisplayGraph that takes a StringRef. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b81df326bd32ecb00e0f0c81e771de0c4f92937;p=clang Use version of DisplayGraph that takes a StringRef. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183916 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/InheritViz.cpp b/lib/AST/InheritViz.cpp index e03632a71e..5a7c938cf0 100644 --- a/lib/AST/InheritViz.cpp +++ b/lib/AST/InheritViz.cpp @@ -159,7 +159,7 @@ void CXXRecordDecl::viewInheritance(ASTContext& Context) const { O.close(); // Display the graph - DisplayGraph(Filename); + DisplayGraph(Filename.str()); } else { llvm::errs() << "error opening file for writing!\n"; }