Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMoveChecker.cpp459 const auto ArgRegion = AFC->getArgSVal(0).getAsRegion(); in checkPostCall() local
460 if (!ArgRegion) in checkPostCall()
465 if (CC && CC->getCXXThisVal().getAsRegion() == ArgRegion) in checkPostCall()
469 if (IC->getCXXThisVal().getAsRegion() == ArgRegion) in checkPostCall()
472 const MemRegion *BaseRegion = ArgRegion->getBaseRegion(); in checkPostCall()
479 if (State->get<TrackedRegionMap>(ArgRegion)) in checkPostCall()
483 ObjectKind OK = classifyObject(ArgRegion, RD); in checkPostCall()
610 const MemRegion *ArgRegion = CC->getArgSVal(0).getAsRegion(); in checkPreCall() local
613 modelUse(State, ArgRegion, RD, MK, C); in checkPreCall()
661 const MemRegion *ArgRegion = IC->getArgSVal(0).getAsRegion(); in checkPreCall() local
[all …]
H A DInnerPointerChecker.cpp180 const auto *ArgRegion = in checkFunctionArguments() local
182 if (!ArgRegion) in checkFunctionArguments()
190 markPtrSymbolsReleased(Call, State, ArgRegion, C); in checkFunctionArguments()
/freebsd-13.1/contrib/llvm-project/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()