Separate PassInfo into two classes: a constructor-free superclass (StaticPassInfo...
[oota-llvm.git] / tools / bugpoint / FindBugs.cpp
index 224c71747a6f5c8c4acaee0a42fcd987d3da8c5b..5c1bedebf19edef27def4b86787a85d8dcf16190 100644 (file)
@@ -29,7 +29,8 @@ using namespace llvm;
 /// If the passes did not compile correctly, output the command required to 
 /// recreate the failure. This returns true if a compiler error is found.
 ///
-bool BugDriver::runManyPasses(const std::vector<const PassInfo*> &AllPasses,
+bool
+BugDriver::runManyPasses(const std::vector<const StaticPassInfo*> &AllPasses,
                               std::string &ErrMsg) {
   setPassesToRun(AllPasses);
   outs() << "Starting bug finding procedure...\n\n";