r183916 - Use version of DisplayGraph that takes a StringRef.

Rafael Espindola rafael.espindola at gmail.com
Thu Jun 13 09:57:07 PDT 2013


Author: rafael
Date: Thu Jun 13 11:57:07 2013
New Revision: 183916

URL: http://llvm.org/viewvc/llvm-project?rev=183916&view=rev
Log:
Use version of DisplayGraph that takes a StringRef.

Modified:
    cfe/trunk/lib/AST/InheritViz.cpp

Modified: cfe/trunk/lib/AST/InheritViz.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/InheritViz.cpp?rev=183916&r1=183915&r2=183916&view=diff
==============================================================================
--- cfe/trunk/lib/AST/InheritViz.cpp (original)
+++ cfe/trunk/lib/AST/InheritViz.cpp Thu Jun 13 11:57:07 2013
@@ -159,7 +159,7 @@ void CXXRecordDecl::viewInheritance(ASTC
     O.close();
 
     // Display the graph
-    DisplayGraph(Filename);
+    DisplayGraph(Filename.str());
   } else {
     llvm::errs() << "error opening file for writing!\n";
   }





More information about the cfe-commits mailing list