Lines Matching refs:LCtx
160 bool isInInstanceDealloc(const CheckerContext &C, const LocationContext *LCtx,
167 const ObjCImplDecl *getContainingObjCImpl(const LocationContext *LCtx) const;
270 const LocationContext *LCtx = C.getLocationContext(); in checkBeginFunction() local
285 for (auto *PropImpl : getContainingObjCImpl(LCtx)->property_impls()) { in checkBeginFunction()
503 const LocationContext *LCtx = C.getLocationContext(); in diagnoseMissingReleases() local
533 cast<ObjCMethodDecl>(LCtx->getDecl())->getClassInterface()) in diagnoseMissingReleases()
607 assert(!LCtx->inTopFrame() || State->get<UnreleasedIvarMap>().isEmpty()); in diagnoseMissingReleases()
631 const LocationContext *LCtx = C.getLocationContext(); in findPropertyOnDeallocatingInstance() local
634 const ObjCImplDecl *Container = getContainingObjCImpl(LCtx); in findPropertyOnDeallocatingInstance()
788 ObjCDeallocChecker::getContainingObjCImpl(const LocationContext *LCtx) const { in getContainingObjCImpl()
789 auto *MD = cast<ObjCMethodDecl>(LCtx->getDecl()); in getContainingObjCImpl()
967 const LocationContext *LCtx, in isInInstanceDealloc() argument
969 auto *MD = dyn_cast<ObjCMethodDecl>(LCtx->getDecl()); in isInInstanceDealloc()
973 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in isInInstanceDealloc()
977 SelfValOut = State->getSVal(State->getRegion(SelfDecl, LCtx)); in isInInstanceDealloc()
986 const LocationContext *LCtx = C.getLocationContext(); in instanceDeallocIsOnStack() local
988 while (LCtx) { in instanceDeallocIsOnStack()
989 if (isInInstanceDealloc(C, LCtx, InstanceValOut)) in instanceDeallocIsOnStack()
992 LCtx = LCtx->getParent(); in instanceDeallocIsOnStack()