31 const auto *DeallocDecl = Result.Nodes.getNodeAs<ObjCMethodDecl>(
"dealloc");
32 const auto *CID = Result.Nodes.getNodeAs<ObjCCategoryImplDecl>(
"impl");
33 assert(DeallocDecl !=
nullptr);
34 diag(DeallocDecl->getLocation(),
"category %0 should not implement -dealloc")