| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CoreEngine.cpp | 213 const LocationContext *LC = Pred->getLocationContext(); in HandleBlockEdge() 239 if (Blk == &(L.getLocationContext()->getCFG()->getExit())) { in HandleBlockEdge() 240 assert(L.getLocationContext()->getCFG()->getExit().empty() && in HandleBlockEdge() 264 BlockEntrance BE(Blk, Pred->getLocationContext()); in HandleBlockEdge() 280 const LocationContext *LC = Pred->getLocationContext(); in HandleBlockEntrance() 335 generateNode(BlockEdge(B, succ, Pred->getLocationContext()), in HandleBlockExit() 474 const LocationContext *LCtx = Pred->getLocationContext(); in HandleVirtualBaseBranch() 547 PostStmt Loc(CS.getStmt(), N->getLocationContext()); in enqueueStmtNode() 567 const auto *LocCtx = cast<StackFrameContext>(N->getLocationContext()); in generateCallExitBeginNode() 592 if (I->getLocationContext()->getParent()) { in enqueueEndOfFunction() [all …]
|
| H A D | ExprEngine.cpp | 142 return getLocationContext()->getDecl()->getASTContext(); in getASTContext() 522 if (I.first.getLocationContext() == LC) in areAllObjectsFullyConstructed() 568 if (Key.getLocationContext() != LCtx) in printObjectsUnderConstructionJson() 582 if (Key.getLocationContext() != LCtx) in printObjectsUnderConstructionJson() 811 LoopExit PP(S, Pred->getLocationContext()); in ProcessLoopExit() 821 const LocationContext *LC = Pred->getLocationContext(); in ProcessInitializer() 1074 const LocationContext *LC = Pred->getLocationContext(); in ProcessTemporaryDtor() 1095 Pred->getLocationContext()); in ProcessTemporaryDtor() 1138 const LocationContext *LC = Pred->getLocationContext(); in processCleanupTemporaryBranch() 2395 if (I.first.getLocationContext() == LC) { in processEndOfFunction() [all …]
|
| H A D | ExprEngineC.cpp | 57 const LocationContext *LCtx = (*it)->getLocationContext(); in VisitBinaryOperator() 140 const LocationContext *LCtx = (*I)->getLocationContext(); in VisitBinaryOperator() 316 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCast() 548 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCompoundLiteralExpr() 600 const LocationContext *LC = N->getLocationContext(); in VisitDeclStmt() 743 const LocationContext *LCtx = Pred->getLocationContext(); in VisitInitListExpr() 795 const LocationContext *LCtx = Pred->getLocationContext(); in VisitGuardedExpr() 903 state = state->BindExpr(Ex, (*I)->getLocationContext(), in VisitUnaryExprOrTypeTraitExpr() 924 const LocationContext *LCtx = (*I)->getLocationContext(); in handleUOExtension() 1073 const LocationContext *LCtx = Pred->getLocationContext(); in VisitIncrementDecrementOperator() [all …]
|
| H A D | ExprEngineObjC.cpp | 25 const LocationContext *LCtx = Pred->getLocationContext(); in VisitLvalObjCIvarRefExpr() 54 const LocationContext *LCtx = Pred->getLocationContext(); in populateObjCForDestinationSet() 114 SVal collectionV = state->getSVal(collection, Pred->getLocationContext()); in VisitObjCForCollectionStmt() 120 elementV = state->getLValue(elemD, Pred->getLocationContext()); in VisitObjCForCollectionStmt() 122 elementV = state->getSVal(elem, Pred->getLocationContext()); in VisitObjCForCollectionStmt() 152 CEMgr.getObjCMethodCall(ME, Pred->getState(), Pred->getLocationContext()); in VisitObjCMessage()
|
| H A D | Environment.cpp | 95 const LocationContext *LCtx = Entry.getLocationContext(); in getSVal() 202 if (SymReaper.isLive(E, BlkExpr.getLocationContext())) { in removeDeadBindings() 230 const LocationContext *LC = I.first.getLocationContext(); in printJson() 255 if (I->first.getLocationContext() != LC) in printJson() 272 if (I->first.getLocationContext() != LC) in printJson()
|
| H A D | LoopUnrolling.cpp | 48 const LocationContext *getLocationContext() const { return LCtx; } in getLocationContext() function 170 const LocationContext *LocCtxt = N->getLocationContext(); in isCapturedByReference() 229 N->getLocationContext()->getAnalysisDeclContext()->getASTContext(); in isPossiblyEscaped() 303 auto LCtx = Pred->getLocationContext(); in updateLoopStack() 310 LCtx == LS.getHead().getLocationContext()) { in updateLoopStack()
|
| H A D | ExprEngineCXX.cpp | 32 const LocationContext *LCtx = Pred->getLocationContext(); in CreateCXXTemporaryObject() 68 const LocationContext *LCtx = Pred->getLocationContext(); in performTrivialCopy() 466 const LocationContext *LCtx = Pred->getLocationContext(); in handleConstructor() 706 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCXXDestructor() 769 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCXXNewAllocatorCall() 840 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCXXNewExpr() 908 State = State->BindExpr(CNE, Pred->getLocationContext(), Result); in VisitCXXNewExpr() 947 CDE, Pred->getState(), Pred->getLocationContext()); in VisitCXXDeleteExpr() 963 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCXXCatchStmt() 978 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCXXThisExpr() [all …]
|
| H A D | ExprEngineCallAndReturn.cpp | 182 const LocationContext *LCtx = Pred->getLocationContext(); in removeDeadOnEndOfFunction() 208 PrettyStackTraceLocationContext CrashInfo(CEBNode->getLocationContext()); in processCallExit() 233 const LocationContext *LCtx = CEBNode->getLocationContext(); in processCallExit() 436 const LocationContext *CurLC = Pred->getLocationContext(); in REGISTER_MAP_WITH_PROGRAMSTATE() 507 = CEMgr.getSimpleCall(CE, Pred->getState(), Pred->getLocationContext()); in VisitCallExpr() 533 const LocationContext *LC = Call.getLocationContext(); in finishArgumentConstruction() 561 const LocationContext *LC = Call.getLocationContext(); in finishArgumentConstruction() 627 State = processPointerEscapedOnBind(State, Escaped, I->getLocationContext(), in evalCall() 726 State = bindReturnValue(Call, Pred->getLocationContext(), State); in conservativeEvalCall() 736 const LocationContext *CurLC = Pred->getLocationContext(); in mayInlineCallKind() [all …]
|
| H A D | CallEvent.cpp | 302 BlockCount, getLocationContext(), in invalidateRegions() 311 return PreStmt(E, getLocationContext(), Tag); in getProgramPoint() 312 return PostStmt(E, getLocationContext(), Tag); in getProgramPoint() 320 return PreImplicitCall(D, Loc, getLocationContext(), Tag); in getProgramPoint() 321 return PostImplicitCall(D, Loc, getLocationContext(), Tag); in getProgramPoint() 588 getLocationContext()->getAnalysisDeclContext()-> in getRuntimeDefinition() 957 const StackFrameContext *SFC = getLocationContext()->getStackFrame(); in getInheritingStackFrame() 1021 SVal SelfVal = getState()->getSelfSVal(getLocationContext()); in getReceiverSVal() 1035 SVal SelfVal = getState()->getSelfSVal(getLocationContext()); in isReceiverSelfOrSuper() 1074 const ParentMap &PM = getLocationContext()->getParentMap(); in getMessageKind() [all …]
|
| H A D | ExplodedGraph.cpp | 118 progPoint.getLocationContext() != pred->getLocationContext()) in shouldCollect() 137 const ParentMap &PM = progPoint.getLocationContext()->getParentMap(); in shouldCollect() 300 return getLocationContext() in getCFGBlock() 325 const LocationContext *LC = getLocationContext(); in getStmtForDiagnostics()
|
| H A D | BugReporterVisitors.cpp | 165 ->getLValue(VD, N->getLocationContext()) in getLocationRegionIfReference() 208 const LocationContext *LCtx = N->getLocationContext(); in getSValForVar() 418 const LocationContext *Ctx = N->getLocationContext(); in isRegionOfInterestModifiedInFrame() 570 const LocationContext *Ctx = N->getLocationContext(); in VisitNode() 644 const LocationContext *Ctx = N->getLocationContext(); in findModifyingFrames() 877 auto *LCtx = N->getLocationContext(); in matchAssignment() 944 if (N->getLocationContext() != CalleeSFC) in visitNodeInitial() 1213 const LocationContext *LCtx = N->getLocationContext(); in isInitializationOfVar() 1969 P.getLocationContext()); in constructNote() 2603 const LocationContext *LCtx = N->getLocationContext(); in VisitTrueTest() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | InvalidatedIteratorChecker.cpp | 82 SVal SubVal = State->getSVal(UO->getSubExpr(), C.getLocationContext()); in checkPreStmt() 93 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); in checkPreStmt() 103 SVal LVal = State->getSVal(ASE->getLHS(), C.getLocationContext()); in checkPreStmt() 113 SVal BaseVal = State->getSVal(ME->getBase(), C.getLocationContext()); in checkPreStmt()
|
| H A D | TraversalChecker.cpp | 42 const ParentMap &Parents = C.getLocationContext()->getParentMap(); in checkBranchCondition() 84 for (const LocationContext *LC = C.getLocationContext()->getParent(); in checkPreCall() 101 for (const LocationContext *LC = C.getLocationContext()->getParent(); in checkPostCall()
|
| H A D | SmartPtrModeling.cpp | 311 Call.getOriginExpr(), C.getLocationContext(), in evalCall() 336 *ThisRegionOpt, nullptr, State, C.getLocationContext(), in evalCall() 368 Call.getOriginExpr(), C.getLocationContext(), in evalCall() 489 const auto *LCtx = C.getLocationContext(); in handleComparisionOp() 726 State = State->BindExpr(Call.getOriginExpr(), C.getLocationContext(), in handleGet() 847 const LocationContext *LC = C.getLocationContext(); in handleBoolConversion() 854 State = State->BindExpr(CallExpr, C.getLocationContext(), in handleBoolConversion() 860 State = State->BindExpr(CallExpr, C.getLocationContext(), in handleBoolConversion() 867 State->BindExpr(CallExpr, C.getLocationContext(), in handleBoolConversion() 879 NullState = NullState->BindExpr(CallExpr, C.getLocationContext(), in handleBoolConversion() [all …]
|
| H A D | DereferenceChecker.cpp | 156 State.get(), N->getLocationContext()); in reportBug() 164 State.get(), N->getLocationContext()); in reportBug() 172 State.get(), N->getLocationContext(), true); in reportBug() 180 State.get(), N->getLocationContext(), true); in reportBug() 188 State.get(), N->getLocationContext(), true); in reportBug()
|
| H A D | IteratorRangeChecker.cpp | 151 SVal SubVal = State->getSVal(UO->getSubExpr(), C.getLocationContext()); in checkPreStmt() 166 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); in checkPreStmt() 171 SVal RVal = State->getSVal(BO->getRHS(), C.getLocationContext()); in checkPreStmt() 182 SVal LVal = State->getSVal(ASE->getLHS(), C.getLocationContext()); in checkPreStmt() 192 SVal BaseVal = State->getSVal(ME->getBase(), C.getLocationContext()); in checkPreStmt()
|
| H A D | StreamChecker.cpp | 186 const LocationContext *LCtx = C.getLocationContext(); in makeRetVal() 195 State = State->BindExpr(CE, C.getLocationContext(), RetVal); in bindAndAssumeTrue() 203 State = State->BindExpr(CE, C.getLocationContext(), in bindInt() 489 State = State->BindExpr(CE, C.getLocationContext(), RetVal); in evalFopen() 548 State->BindExpr(CE, C.getLocationContext(), *StreamVal); in evalFreopen() 551 ProgramStateRef StateRetNull = State->BindExpr(CE, C.getLocationContext(), in evalFreopen() 672 State->BindExpr(CE, C.getLocationContext(), *NMembVal); in evalFreadFwrite() 684 State->BindExpr(CE, C.getLocationContext(), *RetVal); in evalFreadFwrite() 749 State = State->BindExpr(CE, C.getLocationContext(), RetVal); in evalFseek() 1041 StreamOpenNode->getLocationContext()); in reportLeaks() [all …]
|
| H A D | ValistChecker.cpp | 226 const LocationContext *LeakContext = N->getLocationContext(); in getStartCallSite() 239 const LocationContext *NContext = N->getLocationContext(); in getStartCallSite() 289 StartCallStmt, C.getSourceManager(), StartNode->getLocationContext()); in reportLeakedVALists() 301 StartNode->getLocationContext()->getDecl()); in reportLeakedVALists() 399 N->getLocationContext()); in VisitNode()
|
| H A D | ExprInspectionChecker.cpp | 131 const LocationContext *LC = N->getLocationContext(); in getArgumentValueString() 208 const LocationContext *LC = C.getPredecessor()->getLocationContext(); in analyzerEval() 234 const LocationContext *LC = C.getPredecessor()->getLocationContext(); in analyzerCheckInlined() 281 State = State->BindExpr(CE, C.getLocationContext(), Size); in analyzerGetExtent() 394 C.getLocationContext()->getDecl(), Opts); in analyzerHashDump() 504 taint::isTainted(C.getState(), CE->getArg(0), C.getLocationContext()); in analyzerIsTainted()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | ExplodedGraph.h | 146 const LocationContext *getLocationContext() const { in getLocationContext() function 147 return getLocation().getLocationContext(); in getLocationContext() 154 const Decl &getCodeDecl() const { return *getLocationContext()->getDecl(); } in getCodeDecl() 156 CFG &getCFG() const { return *getLocationContext()->getCFG(); } in getCFG() 161 return getLocationContext()->getParentMap(); in getParentMap() 166 return *getLocationContext()->getAnalysis<T>(); in getAnalysis() 178 return getState()->getSVal(S, getLocationContext()); in getSVal()
|
| H A D | CoreEngine.h | 214 : Eng(E), Block(B), LC(N->getLocationContext()) { assert(B); } in NodeBuilderContext() 414 Pred->getLocationContext(), tag); 424 Pred->getLocationContext(), tag); 521 const LocationContext *getLocationContext() const { in getLocationContext() function 522 return Pred->getLocationContext(); in getLocationContext() 575 const LocationContext *getLocationContext() const { in getLocationContext() function 576 return Pred->getLocationContext(); in getLocationContext()
|
| H A D | CheckerContext.h | 91 const LocationContext *getLocationContext() const { in getLocationContext() function 92 return Pred->getLocationContext(); in getLocationContext() 100 bool inTopFrame() const { return getLocationContext()->inTopFrame(); } in inTopFrame() 125 return Pred->getLocationContext()->getAnalysisDeclContext(); in getCurrentAnalysisDeclContext()
|
| H A D | Environment.h | 41 const LocationContext *getLocationContext() const { return second; } in getLocationContext() function 47 ID.AddPointer(E.getLocationContext()); in Profile()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountDiagnostics.cpp | 485 const LocationContext *LCtx = N->getLocationContext(); in VisitNode() 543 PathDiagnosticLocation Pos(S, SM, N->getLocationContext()); in VisitNode() 596 N->getLocationContext()); in VisitNode() 676 const LocationContext *LeakContext = N->getLocationContext(); in GetAllocationSite() 684 const LocationContext *NContext = N->getLocationContext(); in GetAllocationSite() 748 AllocationNodeInCurrentOrParentContext->getLocationContext() != in GetAllocationSite() 874 UniqueingDecl = Ctx.getLocationContext()->getDecl(); in deriveParamLocation() 911 AllocStmt, SMgr, AllocNode->getLocationContext()); in deriveAllocLocation() 917 UniqueingDecl = AllocNode->getLocationContext()->getDecl(); in deriveAllocLocation()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | PathDiagnostic.cpp | 674 P.getLocationContext()->getDecl(), SMng); in create() 685 P.getLocationContext()->getDecl(), SMng); in create() 701 CE->getLocationContext(), in create() 705 CEE->getLocationContext(), in create() 710 CEB->getLocationContext()); in create() 712 CEB->getLocationContext()->getDecl()->getSourceRange().getEnd(), SMng); in create() 728 FE->getLocationContext()); in create() 733 return PathDiagnosticLocation(S, SMng, P.getLocationContext()); in create() 849 const Decl *caller = CE.getLocationContext()->getDecl(); in construct() 851 CE.getLocationContext(), in construct() [all …]
|