add a couple of enum values
[oota-llvm.git] / include / llvm / PassAnalysisSupport.h
index 9f70d7e3852f4e3aaf2a136fe2ac9a61b0e4e58e..892d203ba3ac980c58936aa1e0b68fe18dcfb2f5 100644 (file)
@@ -19,6 +19,8 @@
 #ifndef LLVM_PASS_ANALYSIS_SUPPORT_H
 #define LLVM_PASS_ANALYSIS_SUPPORT_H
 
+#include <vector>
+
 namespace llvm {
 
 // No need to include Pass.h, we are being included by it!
@@ -105,7 +107,7 @@ public:
 // is used to pull analysis information out of them.
 //
 struct AnalysisResolver {
-  virtual ~AnalysisResolver() {}
+  virtual ~AnalysisResolver();
   virtual Pass *getAnalysisOrNullUp(AnalysisID ID) const = 0;
   virtual Pass *getAnalysisOrNullDown(AnalysisID ID) const = 0;
   virtual void addPass(ImmutablePass *IP, AnalysisUsage &AU) = 0;