Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMoveChecker.cpp460 const auto ArgRegion = AFC->getArgSVal(0).getAsRegion(); in checkPostCall() local
461 if (!ArgRegion) in checkPostCall()
466 if (CC && CC->getCXXThisVal().getAsRegion() == ArgRegion) in checkPostCall()
470 if (IC->getCXXThisVal().getAsRegion() == ArgRegion) in checkPostCall()
473 const MemRegion *BaseRegion = ArgRegion->getBaseRegion(); in checkPostCall()
480 if (State->get<TrackedRegionMap>(ArgRegion)) in checkPostCall()
484 ObjectKind OK = classifyObject(ArgRegion, RD); in checkPostCall()
487 State = State->set<TrackedRegionMap>(ArgRegion, RegionState::getMoved()); in checkPostCall()
612 const MemRegion *ArgRegion = CC->getArgSVal(0).getAsRegion(); in checkPreCall() local
615 modelUse(State, ArgRegion, RD, MK, C); in checkPreCall()
[all …]
H A DInnerPointerChecker.cpp169 const auto *ArgRegion = in checkFunctionArguments() local
171 if (!ArgRegion) in checkFunctionArguments()
179 markPtrSymbolsReleased(Call, State, ArgRegion, C); in checkFunctionArguments()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp554 auto *ArgRegion = dyn_cast_or_null<TypedValueRegion>(ArgVal.getAsRegion()); in updateOutParameters() local
555 if (!ArgRegion) in updateOutParameters()
558 QualType PointeeTy = ArgRegion->getValueType(); in updateOutParameters()
559 SVal PointeeVal = State->getSVal(ArgRegion); in updateOutParameters()
564 if (shouldEscapeRegion(ArgRegion)) in updateOutParameters()