Lines Matching defs:LCtx
154 bool isInInstanceDealloc(const CheckerContext &C, const LocationContext *LCtx,
161 const ObjCImplDecl *getContainingObjCImpl(const LocationContext *LCtx) const;
264 const LocationContext *LCtx = C.getLocationContext();
279 for (auto *PropImpl : getContainingObjCImpl(LCtx)->property_impls()) {
495 const LocationContext *LCtx = C.getLocationContext();
525 cast<ObjCMethodDecl>(LCtx->getDecl())->getClassInterface())
599 assert(!LCtx->inTopFrame() || State->get<UnreleasedIvarMap>().isEmpty());
623 const LocationContext *LCtx = C.getLocationContext();
626 const ObjCImplDecl *Container = getContainingObjCImpl(LCtx);
795 /// Returns the ObjCImplDecl containing the method declaration in LCtx.
797 ObjCDeallocChecker::getContainingObjCImpl(const LocationContext *LCtx) const {
798 auto *MD = cast<ObjCMethodDecl>(LCtx->getDecl());
972 /// Returns true if LCtx is a call to -dealloc and false
976 const LocationContext *LCtx,
978 auto *MD = dyn_cast<ObjCMethodDecl>(LCtx->getDecl());
982 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl();
986 SelfValOut = State->getSVal(State->getRegion(SelfDecl, LCtx));
995 const LocationContext *LCtx = C.getLocationContext();
997 while (LCtx) {
998 if (isInInstanceDealloc(C, LCtx, InstanceValOut))
1001 LCtx = LCtx->getParent();