Searched refs:ArgRegion (Results 1 – 4 of 4) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MoveChecker.cpp | 459 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() 486 State = State->set<TrackedRegionMap>(ArgRegion, RegionState::getMoved()); in checkPostCall() 610 const MemRegion *ArgRegion = CC->getArgSVal(0).getAsRegion(); in checkPreCall() local 613 modelUse(State, ArgRegion, RD, MK, C); in checkPreCall() [all …]
|
| H A D | SmartPtrModeling.cpp | 409 const auto *ArgRegion = Call.getArgSVal(0).getAsRegion(); in handleSwap() local 410 if (!ArgRegion) in handleSwap() 417 State->get<TrackedRegionMap>(ArgRegion); in handleSwap() 421 State = updateSwappedRegion(State, ArgRegion, ThisRegionInnerPointerVal); in handleSwap() 424 State, C.getNoteTag([ThisRegion, ArgRegion](PathSensitiveBugReport &BR, in handleSwap() 429 BR.markInteresting(ArgRegion); in handleSwap() 431 checkAndPrettyPrintRegion(OS, ArgRegion); in handleSwap()
|
| H A D | InnerPointerChecker.cpp | 180 const auto *ArgRegion = in checkFunctionArguments() local 182 if (!ArgRegion) in checkFunctionArguments() 190 markPtrSymbolsReleased(Call, State, ArgRegion, C); in checkFunctionArguments()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountChecker.cpp | 555 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()
|