From 8b81df326bd32ecb00e0f0c81e771de0c4f92937 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 13 Jun 2013 16:57:07 +0000 Subject: [PATCH] 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 --- lib/AST/InheritViz.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } -- 2.40.0