diff options
Diffstat (limited to 'lib/IR/Pass.cpp')
-rw-r--r-- | lib/IR/Pass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/IR/Pass.cpp b/lib/IR/Pass.cpp index 91d86ae..df45460 100644 --- a/lib/IR/Pass.cpp +++ b/lib/IR/Pass.cpp @@ -223,8 +223,8 @@ void PassRegistrationListener::enumeratePasses() { PassRegistry::getPassRegistry()->enumerateWith(this); } -PassNameParser::PassNameParser() - : Opt(nullptr) { +PassNameParser::PassNameParser(cl::Option &O) + : cl::parser<const PassInfo *>(O) { PassRegistry::getPassRegistry()->addRegistrationListener(this); } |