- Cleaned up the interface to AnalysisUsage to take analysis class names

instead of ::ID's.
 - Pass::getAnalysis<> now no longer takes an optional argument


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3265 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-08-08 19:01:30 +00:00
parent dd5b495129
commit 5f0eb8da62
18 changed files with 33 additions and 33 deletions

View File

@@ -53,7 +53,7 @@ namespace {
}
void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired(LoopInfo::ID);
AU.addRequired<LoopInfo>();
AU.setPreservesAll();
}
};