Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DMoveChecker.cpp458 const auto ArgRegion = AFC->getArgSVal(0).getAsRegion(); in checkPostCall() local
459 if (!ArgRegion) in checkPostCall()
464 if (CC && CC->getCXXThisVal().getAsRegion() == ArgRegion) in checkPostCall()
468 if (IC->getCXXThisVal().getAsRegion() == ArgRegion) in checkPostCall()
471 const MemRegion *BaseRegion = ArgRegion->getBaseRegion(); in checkPostCall()
478 if (State->get<TrackedRegionMap>(ArgRegion)) in checkPostCall()
482 ObjectKind OK = classifyObject(ArgRegion, RD); in checkPostCall()
609 const MemRegion *ArgRegion = CC->getArgSVal(0).getAsRegion(); in checkPreCall() local
612 modelUse(State, ArgRegion, RD, MK, C); in checkPreCall()
660 const MemRegion *ArgRegion = IC->getArgSVal(0).getAsRegion(); in checkPreCall() local
[all …]
H A DInnerPointerChecker.cpp177 const auto *ArgRegion = in checkFunctionArguments() local
179 if (!ArgRegion) in checkFunctionArguments()
187 markPtrSymbolsReleased(Call, State, ArgRegion, C); in checkFunctionArguments()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp555 auto *ArgRegion = dyn_cast_or_null<TypedValueRegion>(ArgVal.getAsRegion()); in updateOutParameters() local
556 if (!ArgRegion) in updateOutParameters()
559 QualType PointeeTy = ArgRegion->getValueType(); in updateOutParameters()
560 SVal PointeeVal = State->getSVal(ArgRegion); in updateOutParameters()
565 if (shouldEscapeRegion(ArgRegion)) in updateOutParameters()