Home
last modified time | relevance | path

Searched refs:MRegion (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DDynamicExtent.cpp61 const MemRegion *MRegion = BufV.getAsRegion(); in getDynamicExtentWithOffset() local
62 if (!MRegion) in getDynamicExtentWithOffset()
64 RegionOffset Offset = MRegion->getAsOffset(); in getDynamicExtentWithOffset()
67 const MemRegion *BaseRegion = MRegion->getBaseRegion(); in getDynamicExtentWithOffset()
73 MRegion->getMemRegionManager().getContext().getCharWidth()); in getDynamicExtentWithOffset()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DCheckPlacementNew.cpp283 if (const MemRegion *MRegion = PlaceVal.getAsRegion()) { in checkPlaceIsAlignedProperly() local
284 if (const ElementRegion *TheElementRegion = MRegion->getAs<ElementRegion>()) in checkPlaceIsAlignedProperly()
286 else if (const FieldRegion *TheFieldRegion = MRegion->getAs<FieldRegion>()) in checkPlaceIsAlignedProperly()
288 else if (const VarRegion *TheVarRegion = MRegion->getAs<VarRegion>()) in checkPlaceIsAlignedProperly()