[analyzer] Do not visit ObjCMethodDecl twice in the AST checkers.

llvm-svn: 164869
This commit is contained in:
Anna Zaks 2012-09-29 00:20:40 +00:00
parent 0353aad5a9
commit 00a896e7a2
1 changed files with 0 additions and 1 deletions

View File

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