/openbsd-src/gnu/llvm/clang/include/clang/Analysis/ |
H A D | AnalysisDeclContext.h | 181 const StackFrameContext *getStackFrame(LocationContext const *ParentLC, 262 const StackFrameContext *getStackFrame() const; 405 const StackFrameContext *getStackFrame(AnalysisDeclContext *ADC, 470 const StackFrameContext *getStackFrame(const Decl *D) { in getStackFrame() function 471 return LocCtxMgr.getStackFrame(getContext(D), nullptr, nullptr, nullptr, 0, in getStackFrame() 476 const StackFrameContext *getStackFrame(AnalysisDeclContext *ADC, in getStackFrame() function 480 return LocCtxMgr.getStackFrame(ADC, Parent, S, Block, BlockCount, Index); in getStackFrame()
|
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
H A D | TestAfterDivZeroChecker.cpp | 117 if (ZeroSymbol == S.getAsSymbol() && SFC == Succ->getStackFrame()) { in REGISTER_SET_WITH_PROGRAMSTATE() 152 State->add<DivZeroMap>(ZeroState(SR, C.getBlockID(), C.getStackFrame())); in setDivZeroMap() 162 ZeroState ZS(SR, C.getBlockID(), C.getStackFrame()); in hasDivZeroMap() 177 C.getStackFrame())); in reportBug() 195 if (ZS.getStackFrameContext() == C.getStackFrame()) in checkEndFunction()
|
H A D | UndefinedAssignmentChecker.cpp | 44 dyn_cast<FunctionDecl>(C.getStackFrame()->getDecl())) in checkBind() 93 dyn_cast<CXXConstructorDecl>(C.getStackFrame()->getDecl())) { in checkBind()
|
H A D | StackAddrEscapeChecker.cpp | 115 return S->getStackFrame() != C.getStackFrame(); in isNotInCurrentFrame() 312 const auto *ReferrerFrame = ReferrerMemSpace->getStackFrame(); in checkEndFunction() 313 const auto *ReferredFrame = ReferredMemSpace->getStackFrame(); in checkEndFunction() 328 CallBack(CheckerContext &CC) : Ctx(CC), PoppedFrame(CC.getStackFrame()) {} in checkEndFunction()
|
H A D | ReturnValueChecker.cpp | 125 const StackFrameContext *SFC = C.getStackFrame(); in checkEndFunction() 126 if (C.getStackFrame()->inTopFrame()) in checkEndFunction()
|
H A D | MIGChecker.cpp | 135 VR->getStackFrame()->inTopFrame()) in REGISTER_TRAIT_WITH_PROGRAMSTATE() 155 SFC = LC->getStackFrame(); in isInMIGCall()
|
H A D | VirtualCallChecker.cpp | 178 State->getSVal(SVB.getCXXThis(MD, LCtx->getStackFrame())); in registerCtorDtorCallInState() 192 State->getSVal(SVB.getCXXThis(MD, LCtx->getStackFrame())); in registerCtorDtorCallInState()
|
H A D | NSErrorChecker.cpp | 200 const StackFrameContext * SFC = C.getStackFrame(); in parameterTypeFromSVal() 206 if (stackReg->getStackFrame() == SFC) in parameterTypeFromSVal()
|
H A D | CXXSelfAssignmentChecker.cpp | 50 State->getSVal(SVB.getCXXThis(MD, LCtx->getStackFrame())); in checkBeginFunction()
|
H A D | ReturnUndefChecker.cpp | 45 const StackFrameContext *SFC = C.getStackFrame(); in checkPreStmt()
|
H A D | UndefResultChecker.cpp | 84 dyn_cast<FunctionDecl>(C.getStackFrame()->getDecl())) in checkPostStmt()
|
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
H A D | RetainCountDiagnostics.cpp | 354 const StackFrameContext *SC = Pred->getStackFrame(); in getCalleeNode() 357 const StackFrameContext *PC = SC->getParent()->getStackFrame(); in getCalleeNode() 362 while (N && N->getStackFrame() != PC) { in getCalleeNode() 382 CallEventRef<> Call = CEMgr.getCaller(N->getStackFrame(), N->getState()); in annotateConsumedSummaryMismatch() 505 isSynthesizedAccessor(LCtx->getStackFrame())) { in VisitNode() 506 S = LCtx->getStackFrame()->getCallSite(); in VisitNode() 693 if (MR->getStackFrame() == LeakContext->getStackFrame()) in GetAllocationSite()
|
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCallAndReturn.cpp | 81 const StackFrameContext *SF = Node->getStackFrame(); in getLastStmt() 88 if (PP.getStackFrame() == SF) { in getLastStmt() 257 const StackFrameContext *calleeCtx = CEBNode->getStackFrame(); in processCallExit() 262 calleeCtx->getParent()->getStackFrame(); in processCallExit() 538 const StackFrameContext *CallerSFC = CurLC->getStackFrame(); in inlineCall() 556 CalleeADC->getStackFrame(ParentOfCallee, CallE, currBldrCtx->getBlock(), in inlineCall() 647 ->getStackFrame()->getParent() in finishArgumentConstruction() 648 ->getStackFrame() == LC->getStackFrame()); in finishArgumentConstruction() 848 const StackFrameContext *CallerSFC = CurLC->getStackFrame(); in mayInlineCallKind()
|
H A D | ExprEngine.cpp | 305 const StackFrameContext *SFC = InitLoc->getStackFrame(); in getInitialState() 473 auto Key = std::make_pair(E, LCtx->getStackFrame()); in setIndexOfElementToConstruct() 483 const unsigned *V = State->get<PendingInitLoop>({E, LCtx->getStackFrame()}); in getPendingInitLoop() 490 auto Key = std::make_pair(E, LCtx->getStackFrame()); in removePendingInitLoop() 500 auto Key = std::make_pair(E, LCtx->getStackFrame()); in setPendingInitLoop() 512 State->get<IndexOfElementToConstruct>({E, LCtx->getStackFrame()}); in getIndexOfElementToConstruct() 520 auto Key = std::make_pair(E, LCtx->getStackFrame()); in removeIndexOfElementToConstruct() 532 State->get<PendingArrayDestruction>(LCtx->getStackFrame()); in getPendingArrayDestruction() 540 auto Key = LCtx->getStackFrame(); in setPendingArrayDestruction() 550 auto Key = LCtx->getStackFrame(); in removePendingArrayDestruction() [all …]
|
H A D | MemRegion.cpp | 159 const StackFrameContext *VarRegion::getStackFrame() const { in getStackFrame() function in VarRegion 161 return SSR ? SSR->getStackFrame() : nullptr; in getStackFrame() 191 const Decl *D = getStackFrame()->getDecl(); in getDecl() 220 ID.AddPointer(getStackFrame()); in Profile() 969 const StackFrameContext *SFC = LC->getStackFrame(); in getVarRegion() 1074 const StackFrameContext *SFC = LC->getStackFrame(); in getParamVarRegion() 1099 const StackFrameContext *STC = LC->getStackFrame(); in getBlockDataRegion() 1126 const StackFrameContext *STC = LC->getStackFrame(); in getCompoundLiteralRegion() 1195 const StackFrameContext *SFC = LC->getStackFrame(); in getCXXTempObjectRegion() 1264 const StackFrameContext *STC = LC->getStackFrame(); in getCXXThisRegion() [all …]
|
H A D | BugReporterVisitors.cpp | 247 if (!B->getErrorNode()->getStackFrame()->isParentOf(N->getStackFrame())) in isVarAnInterestingCondition() 356 const StackFrameContext *SCtx = Ctx->getStackFrame(); in isModifiedInFrame() 369 SCtx = SCtx->getParent()->getStackFrame(); in markFrameAsModifying() 377 const StackFrameContext *OrigSCtx = N->getFirstSucc()->getStackFrame(); in getMatchingCallExitEnd() 383 OrigSCtx == N->getFirstPred()->getStackFrame(); in getMatchingCallExitEnd() 399 CallExitBeginN->getLocationContext()->getStackFrame(); in findModifyingFrames() 409 CurrentSCtx = CurrN->getStackFrame(); in findModifyingFrames() 421 CurrentSCtx = CurrN->getStackFrame(); in findModifyingFrames() 444 const StackFrameContext *SCtx = Ctx->getStackFrame(); in VisitNode() 472 if (!N->getStackFrame()->getCFG()->isLinear()) { in VisitNode() [all …]
|
H A D | WorkList.cpp | 160 N->getLocationContext()->getStackFrame()); in enqueue() 230 N->getLocationContext()->getStackFrame()); in enqueue()
|
H A D | Environment.cpp | 74 L ? L->getStackFrame() in EnvironmentEntry() 242 Out << "{ \"pointer\": \"" << (const void *)LCtx->getStackFrame() in printJson()
|
H A D | LoopWidening.cpp | 57 const StackFrameContext *STC = LCtx->getStackFrame(); in getWidenedLoopState()
|
H A D | ExprEngineCXX.cpp | 146 Loc ThisPtr = SVB.getCXXThis(CurCtor, LCtx->getStackFrame()); in computeObjectUnderConstruction() 205 const StackFrameContext *SFC = LCtx->getStackFrame(); in computeObjectUnderConstruction() 424 const StackFrameContext *SFC = LCtx->getStackFrame(); in updateObjectsUnderConstruction() 665 LCtx->getStackFrame()->getCallSite()); in handleConstructor() 697 LCtx->getStackFrame()); in handleConstructor()
|
H A D | CallEvent.cpp | 190 return ADC->getManager()->getStackFrame(ADC, LCtx, E, B, BlockCount, Idx); in getCalleeStackFrame() 923 const StackFrameContext *SFC = getLocationContext()->getStackFrame(); in getInheritingStackFrame() 925 SFC = SFC->getParent()->getStackFrame(); in getInheritingStackFrame() 1399 const LocationContext *CallerCtx = ParentCtx->getStackFrame(); in getCaller()
|
/openbsd-src/gnu/llvm/clang/lib/Analysis/ |
H A D | AnalysisDeclContext.cpp | 311 AnalysisDeclContext::getStackFrame(const LocationContext *ParentLC, in getStackFrame() function in AnalysisDeclContext 314 return getLocationContextManager().getStackFrame(this, ParentLC, S, Blk, in getStackFrame() 427 const StackFrameContext *LocationContextManager::getStackFrame( in getStackFrame() function in LocationContextManager 462 const StackFrameContext *LocationContext::getStackFrame() const { in getStackFrame() function in LocationContext 473 return getStackFrame()->inTopFrame(); in inTopFrame()
|
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CheckerContext.h | 98 const StackFrameContext *getStackFrame() const { in getStackFrame() function 99 return Pred->getStackFrame(); in getStackFrame()
|
H A D | ExplodedGraph.h | 150 const StackFrameContext *getStackFrame() const { in getStackFrame() function 151 return getLocation().getStackFrame(); in getStackFrame()
|
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
H A D | UninitializedObjectChecker.cpp | 178 const Stmt *CallSite = Context.getStackFrame()->getCallSite(); in checkEndFunction() 460 Context.getSValBuilder().getCXXThis(CtorDecl, Context.getStackFrame()); in getConstructedRegion()
|