// The AnalysesList is automatically populated with registered Passes by the
// PassNameParser.
//
-static cl::list<const StaticPassInfo*, bool, PassNameParser>
+static cl::list<const PassInfo*, bool, PassNameParser>
PassList(cl::desc("Passes available:"), cl::ZeroOrMore);
static cl::opt<bool>
AddToDriver(BugDriver &_D) : D(_D) {}
virtual void add(Pass *P) {
- const StaticPassInfo *PI = P->getPassInfo();
+ const PassInfo *PI = P->getPassInfo();
D.addPasses(&PI, &PI + 1);
}
};