Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DDynamicSize.cpp49 const MemRegion *MRegion = BufV.getAsRegion(); in getDynamicSizeWithOffset() local
50 if (!MRegion) in getDynamicSizeWithOffset()
52 RegionOffset Offset = MRegion->getAsOffset(); in getDynamicSizeWithOffset()
55 const MemRegion *BaseRegion = MRegion->getBaseRegion(); in getDynamicSizeWithOffset()
61 MRegion->getMemRegionManager().getContext().getCharWidth()); in getDynamicSizeWithOffset()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
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()