Minimize #includes in a top-level header.
[oota-llvm.git] / include / llvm / PassRegistry.h
index 1fb11ed64c1821a68e2cb387906bfec0f75f27ce..31d48a4e28f0b782b183981ffc82ac3d40cfb3fe 100644 (file)
@@ -17,8 +17,7 @@
 #ifndef LLVM_PASSREGISTRY_H
 #define LLVM_PASSREGISTRY_H
 
-#include "llvm/ADT/StringMap.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/ADT/StringRef.h"
 
 namespace llvm {
 
@@ -36,6 +35,9 @@ class PassRegistry {
   void *getImpl() const;
    
 public:
+  PassRegistry() : pImpl(0) { }
+  ~PassRegistry();
+  
   /// getPassRegistry - Access the global registry object, which is 
   /// automatically initialized at application launch and destroyed by
   /// llvm_shutdown.