Home | History | Annotate | Download | only in Checkers

Lines Matching defs:LCtx

154   bool isInInstanceDealloc(const CheckerContext &C, const LocationContext *LCtx,
161 const ObjCImplDecl *getContainingObjCImpl(const LocationContext *LCtx) const;
271 const LocationContext *LCtx = C.getLocationContext();
286 for (auto *PropImpl : getContainingObjCImpl(LCtx)->property_impls()) {
502 const LocationContext *LCtx = C.getLocationContext();
532 cast<ObjCMethodDecl>(LCtx->getDecl())->getClassInterface())
607 assert(!LCtx->inTopFrame() || State->get<UnreleasedIvarMap>().isEmpty());
631 const LocationContext *LCtx = C.getLocationContext();
634 const ObjCImplDecl *Container = getContainingObjCImpl(LCtx);
799 /// Returns the ObjCImplDecl containing the method declaration in LCtx.
801 ObjCDeallocChecker::getContainingObjCImpl(const LocationContext *LCtx) const {
802 auto *MD = cast<ObjCMethodDecl>(LCtx->getDecl());
973 /// Returns true if LCtx is a call to -dealloc and false
977 const LocationContext *LCtx,
979 auto *MD = dyn_cast<ObjCMethodDecl>(LCtx->getDecl());
983 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl();
987 SelfValOut = State->getSVal(State->getRegion(SelfDecl, LCtx));
996 const LocationContext *LCtx = C.getLocationContext();
998 while (LCtx) {
999 if (isInInstanceDealloc(C, LCtx, InstanceValOut))
1002 LCtx = LCtx->getParent();