Home
last modified time | relevance | path

Searched refs:SelfVal (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp258 SVal SelfVal; in checkBeginFunction() local
259 if (!isInInstanceDealloc(C, SelfVal)) in checkBeginFunction()
262 SymbolRef SelfSymbol = SelfVal.getAsSymbol(); in checkBeginFunction()
284 SVal LVal = State->getLValue(PropImpl->getPropertyIvarDecl(), SelfVal); in checkBeginFunction()
490 SVal SelfVal; in diagnoseMissingReleases() local
491 if (!isInInstanceDealloc(C, SelfVal)) in diagnoseMissingReleases()
494 const MemRegion *SelfRegion = SelfVal.castAs<loc::MemRegionVal>().getRegion(); in diagnoseMissingReleases()
499 SymbolRef SelfSym = SelfVal.getAsSymbol(); in diagnoseMissingReleases()
H A DNullabilityChecker.cpp388 SVal SelfVal = State->getSVal(State->getRegion(SelfDecl, LocCtxt)); in checkSelfIvarsForInvariantViolation() local
400 SVal LV = State->getLValue(IvarDecl, SelfVal); in checkSelfIvarsForInvariantViolation()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp951 SVal SelfVal = getState()->getSelfSVal(getLocationContext()); in getReceiverSVal() local
952 assert(SelfVal.isValid() && "Calling super but not in ObjC method"); in getReceiverSVal()
953 return SelfVal; in getReceiverSVal()
965 SVal SelfVal = getState()->getSelfSVal(getLocationContext()); in isReceiverSelfOrSuper() local
967 return (RecVal == SelfVal); in isReceiverSelfOrSuper()
1251 SVal SelfVal = getState()->getSelfSVal(getLocationContext()); in getRuntimeDefinition() local
1253 if (Receiver == SelfVal.getAsRegion()) { in getRuntimeDefinition()
1329 SVal SelfVal = getReceiverSVal(); in getInitialStackFrameContents() local
1330 if (!SelfVal.isUnknown()) { in getInitialStackFrameContents()
1334 Bindings.push_back(std::make_pair(SelfLoc, SelfVal)); in getInitialStackFrameContents()