Because I like being able to instantiate the cfgprinter from external projects,
[oota-llvm.git] / include / llvm / Analysis / FindUsedTypes.h
index 50d659e2fac847b9048331a6e193d877b6b8a028..69471791ab04738f8de6ddd9a394f6f8e07a51a8 100644 (file)
@@ -16,7 +16,9 @@
 
 #include "llvm/Pass.h"
 #include <set>
-class SymbolTable;
+
+namespace llvm {
+
 class Type;
 
 class FindUsedTypes : public Pass {
@@ -39,9 +41,9 @@ private:
   ///
   void IncorporateType(const Type *Ty);
 
-  /// IncorporateSymbolTable - Include any named types.
+  /// IncorporateValue - Incorporate all of the types used by this value.
   ///
-  void IncorporateSymbolTable(const SymbolTable &ST);
+  void IncorporateValue(const Value *V);
 
 public:
   /// run - This incorporates all types used by the specified module
@@ -60,4 +62,6 @@ public:
 static IncludeFile
 FIND_USED_TYPES_INCLUDE_FILE((void*)&FindUsedTypes::stub);
 
+} // End llvm namespace
+
 #endif