]> granicus.if.org Git - clang/commitdiff
[analyzer] Do not visit ObjCMethodDecl twice in the AST checkers.
authorAnna Zaks <ganna@apple.com>
Sat, 29 Sep 2012 00:20:40 +0000 (00:20 +0000)
committerAnna Zaks <ganna@apple.com>
Sat, 29 Sep 2012 00:20:40 +0000 (00:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164869 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp

index ac70349a573644d36bbfc0606002c1ff0349ef64..4d0444ae1b63292e0c97857b8f14d92132920f4c 100644 (file)
@@ -305,7 +305,6 @@ public:
   }
 
   bool VisitObjCMethodDecl(ObjCMethodDecl *MD) {
-    checkerMgr->runCheckersOnASTDecl(MD, *Mgr, *RecVisitorBR);
     if (MD->isThisDeclarationADefinition())
       HandleCode(MD, RecVisitorMode);
     return true;