Searched refs:VarRegion (Results 1 – 19 of 19) sorted by relevance
/external/clang/lib/StaticAnalyzer/Core/ |
D | MemRegion.cpp | 174 const StackFrameContext *VarRegion::getStackFrame() const { in getStackFrame() 332 void VarRegion::Profile(llvm::FoldingSetNodeID &ID) const { in Profile() 333 VarRegion::ProfileRegion(ID, getDecl(), superRegion); in Profile() 524 void VarRegion::dumpToStream(raw_ostream &os) const { in dumpToStream() 589 bool VarRegion::canPrintPrettyAsExpr() const { in canPrintPrettyAsExpr() 593 void VarRegion::printPrettyAsExpr(raw_ostream &os) const { in printPrettyAsExpr() 737 static llvm::PointerUnion<const StackFrameContext *, const VarRegion *> 754 if (const VarRegion *VR = dyn_cast<VarRegion>(I.getOriginalRegion())) in getStackOrCaptureRegionForDeclContext() 756 return cast<VarRegion>(I.getCapturedRegion()); in getStackOrCaptureRegionForDeclContext() 765 const VarRegion* MemRegionManager::getVarRegion(const VarDecl *D, in getVarRegion() [all …]
|
D | BugReporterVisitors.cpp | 419 static bool isInitializationOfVar(const ExplodedNode *N, const VarRegion *VR) { in isInitializationOfVar() 459 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) { in VisitNode() 505 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) { in VisitNode() 551 const VarRegion *VR = dyn_cast<VarRegion>(R); in VisitNode() 565 if (const VarRegion *OriginalR = BDR->getOriginalRegion(VR)) { in VisitNode() 600 if (isa<VarRegion>(R)) { in VisitNode() 618 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) { in VisitNode() 1119 const VarRegion *R = in registerStatementVarDecls()
|
D | SymbolManager.cpp | 430 if (const VarRegion *VR = dyn_cast<VarRegion>(MR)) in isLiveRegion() 520 bool SymbolReaper::isLive(const VarRegion *VR, bool includeStoreBindings) const{ in isLive()
|
D | RegionStore.cpp | 504 SVal getBindingForVar(RegionBindingsConstRef B, const VarRegion *R); 1020 const VarRegion *VR = BI.getCapturedRegion(); in VisitCluster() 1444 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) { in getBinding() 1822 const VarRegion *R) { in getBindingForVar() 2309 if (const VarRegion *VR = dyn_cast<VarRegion>(baseR)) { in VisitAddedToCluster()
|
D | ExprEngineC.cpp | 211 const VarRegion *capturedR = I.getCapturedRegion(); in VisitBlockExpr() 212 const VarRegion *originalR = I.getOriginalRegion(); in VisitBlockExpr()
|
D | CallEvent.cpp | 610 const VarRegion *CapturedLambdaRegion = getRegionStoringCapturedLambda(); in getInitialStackFrameContents()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MacOSXAPIChecker.cpp | 86 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) in CheckDispatchOnce() 92 if (isa<VarRegion>(R) && isa<StackLocalsSpaceRegion>(R->getMemorySpace())) in CheckDispatchOnce()
|
D | StackAddrEscapeChecker.cpp | 76 else if (const VarRegion *VR = dyn_cast<VarRegion>(R)) { in genName() 240 const VarRegion *VR = cast<VarRegion>(cb.V[i].first->getBaseRegion()); in checkEndFunction()
|
D | UnixAPIChecker.cpp | 192 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) in CheckPthreadOnce() 198 if (isa<VarRegion>(R) && isa<StackLocalsSpaceRegion>(R->getMemorySpace())) in CheckPthreadOnce()
|
D | PointerArithChecker.cpp | 51 if (isa<VarRegion>(LR) || isa<CodeTextRegion>(LR) || in checkPreStmt()
|
D | NSErrorChecker.cpp | 193 if (const VarRegion *VR = R->getAs<VarRegion>()) in parameterTypeFromSVal()
|
D | UndefCapturedBlockVarChecker.cpp | 68 const VarRegion *VR = I.getCapturedRegion(); in checkPostStmt()
|
D | MallocChecker.cpp | 1538 const VarRegion *VR = dyn_cast<VarRegion>(MR); in SummarizeRegion() 1553 const VarRegion *VR = dyn_cast<VarRegion>(MR); in SummarizeRegion() 1568 const VarRegion *VR = dyn_cast<VarRegion>(MR); in SummarizeRegion() 2028 const VarRegion* VR = MR->getBaseRegion()->getAs<VarRegion>(); in getAllocationSite() 2271 const VarRegion *VR = I.getCapturedRegion(); in checkPostStmt()
|
D | RetainCountChecker.cpp | 2236 const VarRegion *VR = R->getBaseRegion()->getAs<VarRegion>(); in GetAllocationSite() 2727 const VarRegion *VR = I.getCapturedRegion(); in checkPostStmt() 3644 escapes = !isa<VarRegion>(regionLoc->getRegion()); in checkBind() 3651 if (const VarRegion *LVR = dyn_cast_or_null<VarRegion>(loc.getAsRegion())) { in checkBind()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | MemRegion.h | 42 class VarRegion; variable 660 const VarRegion *getCapturedRegion() const { in getCapturedRegion() 661 return cast<VarRegion>(*R); in getCapturedRegion() 663 const VarRegion *getOriginalRegion() const { in getOriginalRegion() 664 return cast<VarRegion>(*OriginalR); in getOriginalRegion() 684 const VarRegion *getOriginalRegion(const VarRegion *VR) const; 702 std::pair<const VarRegion *, const VarRegion *> 862 class VarRegion : public DeclRegion { 866 VarRegion(const VarDecl *vd, const MemRegion* sReg) in VarRegion() function 1207 const VarRegion* getVarRegion(const VarDecl *D, const LocationContext *LC); [all …]
|
D | SymbolManager.h | 38 class VarRegion; variable 597 bool isLive(const VarRegion *VR, bool includeStoreBindings = false) const;
|
D | ProgramState.h | 220 const VarRegion* getRegion(const VarDecl *D, const LocationContext *LC) const; 636 inline const VarRegion* ProgramState::getRegion(const VarDecl *D, in getRegion()
|
D | CallEvent.h | 519 const VarRegion *getRegionStoringCapturedLambda() const { in getRegionStoringCapturedLambda()
|
/external/clang/docs/analyzer/ |
D | RegionStore.txt | 165 // used as a Default binding for the VarRegion 'p2'.
|