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()
601 assert(!LCtx->inTopFrame() || State->get<UnreleasedIvarMap>().isEmpty()); in diagnoseMissingReleases()
625 const LocationContext *LCtx = C.getLocationContext(); in findPropertyOnDeallocatingInstance() local
628 const ObjCImplDecl *Container = getContainingObjCImpl(LCtx); in findPropertyOnDeallocatingInstance()
799 ObjCDeallocChecker::getContainingObjCImpl(const LocationContext *LCtx) const { in getContainingObjCImpl()
800 auto *MD = cast<ObjCMethodDecl>(LCtx->getDecl()); in getContainingObjCImpl()
978 const LocationContext *LCtx, in isInInstanceDealloc() argument
980 auto *MD = dyn_cast<ObjCMethodDecl>(LCtx->getDecl()); in isInInstanceDealloc()
984 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in isInInstanceDealloc()
988 SelfValOut = State->getSVal(State->getRegion(SelfDecl, LCtx)); in isInInstanceDealloc()
997 const LocationContext *LCtx = C.getLocationContext(); in instanceDeallocIsOnStack() local
999 while (LCtx) { in instanceDeallocIsOnStack()
1000 if (isInInstanceDealloc(C, LCtx, InstanceValOut)) in instanceDeallocIsOnStack()
1003 LCtx = LCtx->getParent(); in instanceDeallocIsOnStack()