Use version of DisplayGraph that takes a StringRef.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 13 Jun 2013 16:57:07 +0000 (16:57 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 13 Jun 2013 16:57:07 +0000 (16:57 +0000)
llvm-svn: 183916

clang/lib/AST/InheritViz.cpp

index e03632a71e0eac59e6bf9e1a6b0281ee9b77c0a7..5a7c938cf0697c14db5c9a92236e1b1d74bf11be 100644 (file)
@@ -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";
   }