Lines Matching refs:LCtx
155 bool isInInstanceDealloc(const CheckerContext &C, const LocationContext *LCtx,
162 const ObjCImplDecl *getContainingObjCImpl(const LocationContext *LCtx) const;
265 const LocationContext *LCtx = C.getLocationContext(); in checkBeginFunction() local
280 for (auto *PropImpl : getContainingObjCImpl(LCtx)->property_impls()) { in checkBeginFunction()
496 const LocationContext *LCtx = C.getLocationContext(); in diagnoseMissingReleases() local
526 cast<ObjCMethodDecl>(LCtx->getDecl())->getClassInterface()) in diagnoseMissingReleases()
600 assert(!LCtx->inTopFrame() || State->get<UnreleasedIvarMap>().isEmpty()); in diagnoseMissingReleases()
624 const LocationContext *LCtx = C.getLocationContext(); in findPropertyOnDeallocatingInstance() local
627 const ObjCImplDecl *Container = getContainingObjCImpl(LCtx); in findPropertyOnDeallocatingInstance()
798 ObjCDeallocChecker::getContainingObjCImpl(const LocationContext *LCtx) const { in getContainingObjCImpl()
799 auto *MD = cast<ObjCMethodDecl>(LCtx->getDecl()); in getContainingObjCImpl()
977 const LocationContext *LCtx, in isInInstanceDealloc() argument
979 auto *MD = dyn_cast<ObjCMethodDecl>(LCtx->getDecl()); in isInInstanceDealloc()
983 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in isInInstanceDealloc()
987 SelfValOut = State->getSVal(State->getRegion(SelfDecl, LCtx)); in isInInstanceDealloc()
996 const LocationContext *LCtx = C.getLocationContext(); in instanceDeallocIsOnStack() local
998 while (LCtx) { in instanceDeallocIsOnStack()
999 if (isInInstanceDealloc(C, LCtx, InstanceValOut)) in instanceDeallocIsOnStack()
1002 LCtx = LCtx->getParent(); in instanceDeallocIsOnStack()