Summary: This idiom is used elsewhere in LLVM, but was overlooked here.
Reviewers: chandlerc
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D13628
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251348
91177308-0d34-0410-b5e6-
96231b3b80d8
public:
static char ID;
- BasicAAWrapperPass() : FunctionPass(ID) {}
+ BasicAAWrapperPass();
BasicAAResult &getResult() { return *Result; }
const BasicAAResult &getResult() const { return *Result; }
AM->getCachedResult<LoopAnalysis>(F));
}
+BasicAAWrapperPass::BasicAAWrapperPass() : FunctionPass(ID) {
+ initializeBasicAAWrapperPassPass(*PassRegistry::getPassRegistry());
+}
+
char BasicAAWrapperPass::ID = 0;
void BasicAAWrapperPass::anchor() {}