• Home
  • Raw
  • Download

Lines Matching refs:LCtx

154   bool isInInstanceDealloc(const CheckerContext &C, const LocationContext *LCtx,
161 const ObjCImplDecl *getContainingObjCImpl(const LocationContext *LCtx) const;
271 const LocationContext *LCtx = C.getLocationContext(); in checkBeginFunction() local
286 for (auto *PropImpl : getContainingObjCImpl(LCtx)->property_impls()) { in checkBeginFunction()
502 const LocationContext *LCtx = C.getLocationContext(); in diagnoseMissingReleases() local
532 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()
801 ObjCDeallocChecker::getContainingObjCImpl(const LocationContext *LCtx) const { in getContainingObjCImpl()
802 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()