Lines Matching refs:MemRegion
57 void EmitStackError(CheckerContext &C, const MemRegion *R,
60 static SourceRange genName(raw_ostream &os, const MemRegion *R,
62 static SmallVector<const MemRegion *, 4>
64 static bool isNotInCurrentFrame(const MemRegion *R, CheckerContext &C);
68 SourceRange StackAddrEscapeChecker::genName(raw_ostream &os, const MemRegion *R, in genName()
120 bool StackAddrEscapeChecker::isNotInCurrentFrame(const MemRegion *R, in isNotInCurrentFrame()
137 SmallVector<const MemRegion *, 4>
140 SmallVector<const MemRegion *, 4> Regions; in getCapturedStackRegions()
143 const MemRegion *Region = Val.getAsRegion(); in getCapturedStackRegions()
151 const MemRegion *R, in EmitStackError()
184 for (const MemRegion *Region : getCapturedStackRegions(B, C)) { in checkAsyncExecutedBlockCaptures()
214 for (const MemRegion *Region : getCapturedStackRegions(B, C)) { in checkReturnedBlockCaptures()
261 const MemRegion *R = V.getAsRegion(); in checkPreStmt()
308 bool checkForDanglingStackVariable(const MemRegion *Referrer, in checkEndFunction()
309 const MemRegion *Referred) { in checkEndFunction()
332 SmallVector<std::pair<const MemRegion *, const MemRegion *>, 10> V; in checkEndFunction()
336 bool HandleBinding(StoreManager &SMgr, Store S, const MemRegion *Region, in checkEndFunction()
338 const MemRegion *VR = Val.getAsRegion(); in checkEndFunction()
372 const MemRegion *Referrer = P.first->getBaseRegion(); in checkEndFunction()
373 const MemRegion *Referred = P.second; in checkEndFunction()