Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DDynamicExtent.cpp88 const MemRegion *MRegion = BufV.getAsRegion(); in getDynamicExtentWithOffset() local
89 if (!MRegion) in getDynamicExtentWithOffset()
91 RegionOffset Offset = MRegion->getAsOffset(); in getDynamicExtentWithOffset()
94 const MemRegion *BaseRegion = MRegion->getBaseRegion(); in getDynamicExtentWithOffset()
/src/contrib/llvm-project/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()