diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-08-21 02:18:44 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-08-21 02:18:44 +0000 |
commit | 5ab128b02d3b10413fb30738ec9f401dcfb47252 (patch) | |
tree | 9ffe3e7f1e19d17190915bf55b4f5aa4442da7ad /lib/Frontend/AnalysisConsumer.cpp | |
parent | b9871a253d351e8776cfa5483d6330d5dffe4562 (diff) |
Tie the local check NSErrorCheck to a Decl to pave the way
to untie the ExplodedGraph from a specific Decl.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79588 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/AnalysisConsumer.cpp')
-rw-r--r-- | lib/Frontend/AnalysisConsumer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/AnalysisConsumer.cpp b/lib/Frontend/AnalysisConsumer.cpp index 16639e0371..2b718d56fc 100644 --- a/lib/Frontend/AnalysisConsumer.cpp +++ b/lib/Frontend/AnalysisConsumer.cpp @@ -304,7 +304,7 @@ static void ActionGRExprEngine(AnalysisManager& mgr, GRTransferFuncs* tf, if (StandardWarnings) { Eng.RegisterInternalChecks(); - RegisterAppleChecks(Eng); + RegisterAppleChecks(Eng, *mgr.getCodeDecl()); } // Set the graph auditor. |