[llvm-commits] CVS: llvm-tv/tools/llvm-tv/TVTreeItem.cpp TVTreeItem.h

Misha Brukman brukman at cs.uiuc.edu
Mon Apr 18 11:38:29 PDT 2005



Changes in directory llvm-tv/tools/llvm-tv:

TVTreeItem.cpp updated: 1.23 -> 1.24
TVTreeItem.h updated: 1.13 -> 1.14
---
Log message:

HTML printer is no longer part of LLVM-TV


---
Diffs of the changes:  (+0 -25)

 TVTreeItem.cpp |   22 ----------------------
 TVTreeItem.h   |    3 ---
 2 files changed, 25 deletions(-)


Index: llvm-tv/tools/llvm-tv/TVTreeItem.cpp
diff -u llvm-tv/tools/llvm-tv/TVTreeItem.cpp:1.23 llvm-tv/tools/llvm-tv/TVTreeItem.cpp:1.24
--- llvm-tv/tools/llvm-tv/TVTreeItem.cpp:1.23	Thu Jun 10 08:21:25 2004
+++ llvm-tv/tools/llvm-tv/TVTreeItem.cpp	Mon Apr 18 13:38:18 2005
@@ -1,5 +1,3 @@
-#include "HTMLMarkup.h"
-#include "HTMLPrinter.h"
 #include "TVTreeItem.h"
 #include "llvm/Module.h"
 using namespace llvm;
@@ -17,30 +15,10 @@
   myModule->print(os);
 }
 
-void TVTreeModuleItem::printHTML(std::ostream &os) {
-  if (myModule) {
-    CachedWriter cw(myModule, os);
-    cw << CachedWriter::SymTypeOn;
-    HTMLMarkup *Simple = createSimpleHTMLMarkup(os);
-    HTMLPrinter HP(cw, os, *Simple);
-    HP.visit(*myModule);
-  }
-}
-
 void TVTreeFunctionItem::print(std::ostream &os) { 
   myFunc->print(os);
 }
 
-void TVTreeFunctionItem::printHTML(std::ostream &os) {
-  if (myFunc) {
-    CachedWriter cw(myFunc->getParent(), os);
-    cw << CachedWriter::SymTypeOn;
-    HTMLMarkup *Simple = createSimpleHTMLMarkup(os);
-    HTMLPrinter HP(cw, os, *Simple);
-    HP.visit(*myFunc);
-  }
-}
-
 std::string TVTreeFunctionItem::getTitle () {
   return myFunc->getName () + "()";
 }


Index: llvm-tv/tools/llvm-tv/TVTreeItem.h
diff -u llvm-tv/tools/llvm-tv/TVTreeItem.h:1.13 llvm-tv/tools/llvm-tv/TVTreeItem.h:1.14
--- llvm-tv/tools/llvm-tv/TVTreeItem.h:1.13	Thu Jun 10 08:21:25 2004
+++ llvm-tv/tools/llvm-tv/TVTreeItem.h	Mon Apr 18 13:38:18 2005
@@ -28,7 +28,6 @@
   virtual void print(std::ostream&) { }
   virtual wxImage *graphOn(GraphDrawer *grapher) { return 0; }
   virtual void viewCodeOn(TVCodeViewer *viewer) { }
-  virtual void printHTML(std::ostream &os) { }
   virtual std::string getTitle () { return "an untitled object"; }
   virtual std::string dsGraphName () { return "graph of " + getTitle (); }
 
@@ -59,7 +58,6 @@
     : TVTreeItemData(desc), myModule(mod) {}
   
   void print(std::ostream &out);
-  void printHTML(std::ostream &os);
   wxImage *graphOn(GraphDrawer *grapher) {
     return grapher->drawModuleGraph (myModule);
   }
@@ -80,7 +78,6 @@
     : TVTreeItemData(desc),  myFunc(func) {}
   
   void print(std::ostream &out);
-  void printHTML(std::ostream &os);
   wxImage *graphOn(GraphDrawer *grapher) {
     return grapher->drawFunctionGraph (myFunc); 
   }






More information about the llvm-commits mailing list