diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2011-02-26 22:09:03 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2011-02-26 22:09:03 +0000 |
commit | c3b054d250cdca485c71845089c316e10610ebad (patch) | |
tree | abae0246ec9156cc1a7cbb947b2b0dfe95fa3189 /examples | |
parent | bca07a4524feb4edec581062d631a13116320a24 (diff) |
Diffstat (limited to 'examples')
-rw-r--r-- | examples/wpa/clang-wpa.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/wpa/clang-wpa.cpp b/examples/wpa/clang-wpa.cpp index bbb9e147ebade..89eddb356242d 100644 --- a/examples/wpa/clang-wpa.cpp +++ b/examples/wpa/clang-wpa.cpp @@ -155,7 +155,8 @@ int main(int argc, char **argv) { Opts.CheckersControlList.push_back(std::make_pair("cocoa", true)); llvm::OwningPtr<ento::CheckerManager> checkerMgr; - checkerMgr.reset(ento::registerCheckers(Opts, PP.getDiagnostics())); + checkerMgr.reset(ento::registerCheckers(Opts, PP.getLangOptions(), + PP.getDiagnostics())); using namespace clang::ento; AnalysisManager AMgr(TU->getASTContext(), PP.getDiagnostics(), |