forked from OSchip/llvm-project
[analyzer] Do not visit ObjCMethodDecl twice in the AST checkers.
llvm-svn: 164869
This commit is contained in:
parent
0353aad5a9
commit
00a896e7a2
|
|
@ -305,7 +305,6 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
bool VisitObjCMethodDecl(ObjCMethodDecl *MD) {
|
bool VisitObjCMethodDecl(ObjCMethodDecl *MD) {
|
||||||
checkerMgr->runCheckersOnASTDecl(MD, *Mgr, *RecVisitorBR);
|
|
||||||
if (MD->isThisDeclarationADefinition())
|
if (MD->isThisDeclarationADefinition())
|
||||||
HandleCode(MD, RecVisitorMode);
|
HandleCode(MD, RecVisitorMode);
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue