* Make contained ostream not public.
[oota-llvm.git] / include / llvm / Analysis / FindUsedTypes.h
index 21fcabc1902f614c83f24c4e364e53867bb09944..69471791ab04738f8de6ddd9a394f6f8e07a51a8 100644 (file)
@@ -1,4 +1,11 @@
-//===- llvm/Analysis/FindUsedTypes.h - Find all Types in use -----*- C++ -*--=//
+//===- llvm/Analysis/FindUsedTypes.h - Find all Types in use ----*- C++ -*-===//
+// 
+//                     The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// 
+//===----------------------------------------------------------------------===//
 //
 // This pass is used to seek out all of the types in use by the program.
 //
@@ -9,7 +16,9 @@
 
 #include "llvm/Pass.h"
 #include <set>
-class SymbolTable;
+
+namespace llvm {
+
 class Type;
 
 class FindUsedTypes : public Pass {
@@ -32,6 +41,10 @@ private:
   ///
   void IncorporateType(const Type *Ty);
 
+  /// IncorporateValue - Incorporate all of the types used by this value.
+  ///
+  void IncorporateValue(const Value *V);
+
 public:
   /// run - This incorporates all types used by the specified module
   bool run(Module &M);
@@ -49,4 +62,6 @@ public:
 static IncludeFile
 FIND_USED_TYPES_INCLUDE_FILE((void*)&FindUsedTypes::stub);
 
+} // End llvm namespace
+
 #endif