| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngine.cpp | 139 const LocationContext *getLocationContext() const { return Impl.second; } in getLocationContext() function in __anon8543556f0111::ConstructedObjectKey 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() 629 PrettyStackTraceLocationContext CrashInfo(Pred->getLocationContext()); in processCFGElement() 780 Pred->getLocationContext())) { in ProcessStmt() 782 Pred->getLocationContext()); in ProcessStmt() 811 LoopExit PP(S, Pred->getLocationContext()); in ProcessLoopExit() 821 const LocationContext *LC = Pred->getLocationContext(); in ProcessInitializer() [all …]
|
| H A D | CoreEngine.cpp | 213 const LocationContext *LC = Pred->getLocationContext(); in HandleBlockEdge() 238 if (Blk == &(L.getLocationContext()->getCFG()->getExit())) { in HandleBlockEdge() 239 assert(L.getLocationContext()->getCFG()->getExit().empty() && in HandleBlockEdge() 263 BlockEntrance BE(Blk, Pred->getLocationContext()); in HandleBlockEdge() 279 const LocationContext *LC = Pred->getLocationContext(); in HandleBlockEntrance() 334 generateNode(BlockEdge(B, succ, Pred->getLocationContext()), in HandleBlockExit() 415 generateNode(BlockEdge(B, *(B->succ_begin()), Pred->getLocationContext()), in HandleBlockExit() 473 const LocationContext *LCtx = Pred->getLocationContext(); in HandleVirtualBaseBranch() 546 PostStmt Loc(CS.getStmt(), N->getLocationContext()); in enqueueStmtNode() 566 const auto *LocCtx = cast<StackFrameContext>(N->getLocationContext()); in generateCallExitBeginNode() [all …]
|
| H A D | ExprEngineC.cpp | 57 const LocationContext *LCtx = (*it)->getLocationContext(); in VisitBinaryOperator() 140 const LocationContext *LCtx = (*I)->getLocationContext(); in VisitBinaryOperator() 204 Pred->getLocationContext(), in VisitBlockExpr() 238 const LocationContext *LCtx = Pred->getLocationContext(); in VisitBlockExpr() 252 State->BindExpr(BE, Pred->getLocationContext(), V), in VisitBlockExpr() 312 const LocationContext *LCtx = subExprNode->getLocationContext(); in VisitCast() 331 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCast() 358 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCast() 560 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCompoundLiteralExpr() 612 const LocationContext *LC = N->getLocationContext(); in VisitDeclStmt() [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 | BugReporterVisitors.cpp | 164 ->getLValue(VD, N->getLocationContext()) in getLocationRegionIfReference() 207 const LocationContext *LCtx = N->getLocationContext(); in getSValForVar() 417 const LocationContext *Ctx = N->getLocationContext(); in isRegionOfInterestModifiedInFrame() 569 const LocationContext *Ctx = N->getLocationContext(); in VisitNode() 643 const LocationContext *Ctx = N->getLocationContext(); in findModifyingFrames() 654 FramesModifyingCalculated.insert(N->getLocationContext()->getStackFrame()); in findModifyingFrames() 876 auto *LCtx = N->getLocationContext(); in matchAssignment() 1028 if (N->getLocationContext() != CalleeSFC) in visitNodeInitial() 1260 const LocationContext *LCtx = N->getLocationContext(); in isInitializationOfVar() 1617 P.getLocationContext()); in VisitNode() [all …]
|
| 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() 733 Dest = MRMgr.getCXXTempObjectRegion(E, 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() [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 | 301 BlockCount, getLocationContext(), in invalidateRegions() 310 return PreStmt(E, getLocationContext(), Tag); in getProgramPoint() 311 return PostStmt(E, getLocationContext(), Tag); in getProgramPoint() 319 return PreImplicitCall(D, Loc, getLocationContext(), Tag); in getProgramPoint() 320 return PostImplicitCall(D, Loc, getLocationContext(), Tag); in getProgramPoint() 530 getLocationContext(), CC, CallOpts); in getReturnValueUnderConstruction() 549 getLocationContext()->getAnalysisDeclContext()-> in getRuntimeDefinition() 918 const StackFrameContext *SFC = getLocationContext()->getStackFrame(); in getInheritingStackFrame() 982 SVal SelfVal = getState()->getSelfSVal(getLocationContext()); in getReceiverSVal() 996 SVal SelfVal = getState()->getSelfSVal(getLocationContext()); in isReceiverSelfOrSuper() [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 | LoopUnrolling.cpp | 48 const LocationContext *getLocationContext() const { return LCtx; } in getLocationContext() function 191 N->getLocationContext()->getAnalysisDeclContext()->getASTContext(); in isPossiblyEscaped() 264 auto LCtx = Pred->getLocationContext(); in updateLoopStack() 271 LCtx == LS.getHead().getLocationContext()) { in updateLoopStack()
|
| /netbsd-src/external/apache2/llvm/dist/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 | SmartPtrModeling.cpp | 204 Call.getOriginExpr(), C.getLocationContext(), in evalCall() 377 State = State->BindExpr(Call.getOriginExpr(), C.getLocationContext(), in handleRelease() 454 CallExpr, C.getLocationContext(), Call.getResultType(), C.blockCount()); in handleGet() 458 State = State->BindExpr(Call.getOriginExpr(), C.getLocationContext(), in handleGet() 579 const LocationContext *LC = C.getLocationContext(); in handleBoolConversion() 586 State = State->BindExpr(CallExpr, C.getLocationContext(), in handleBoolConversion() 592 State = State->BindExpr(CallExpr, C.getLocationContext(), in handleBoolConversion() 599 State->BindExpr(CallExpr, C.getLocationContext(), in handleBoolConversion() 611 NullState = NullState->BindExpr(CallExpr, C.getLocationContext(), in handleBoolConversion() 622 NotNullState->BindExpr(CallExpr, C.getLocationContext(), in handleBoolConversion()
|
| 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 | 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 | StreamChecker.cpp | 174 const LocationContext *LCtx = C.getLocationContext(); in makeRetVal() 183 State = State->BindExpr(CE, C.getLocationContext(), RetVal); in bindAndAssumeTrue() 191 State = State->BindExpr(CE, C.getLocationContext(), in bindInt() 453 State = State->BindExpr(CE, C.getLocationContext(), RetVal); in evalFopen() 511 State->BindExpr(CE, C.getLocationContext(), *StreamVal); in evalFreopen() 514 ProgramStateRef StateRetNull = State->BindExpr(CE, C.getLocationContext(), in evalFreopen() 633 State->BindExpr(CE, C.getLocationContext(), *NMembVal); in evalFreadFwrite() 645 State->BindExpr(CE, C.getLocationContext(), *RetVal); in evalFreadFwrite() 705 State = State->BindExpr(CE, C.getLocationContext(), RetVal); in evalFseek() 990 StreamOpenNode->getLocationContext()); in reportLeaks() [all …]
|
| 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 | 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()
|
| /netbsd-src/external/apache2/llvm/dist/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 | 213 : Eng(E), Block(B), LC(N->getLocationContext()) { assert(B); } in NodeBuilderContext() 413 Pred->getLocationContext(), tag); 423 Pred->getLocationContext(), tag); 520 const LocationContext *getLocationContext() const { in getLocationContext() function 521 return Pred->getLocationContext(); in getLocationContext() 574 const LocationContext *getLocationContext() const { in getLocationContext() function 575 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()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| H A D | PathDiagnostic.cpp | 674 P.getLocationContext()->getDecl(), SMng); in create() 685 P.getLocationContext()->getDecl(), SMng); in create() 691 return PathDiagnosticLocation::createEnd(S, SMng, P.getLocationContext()); 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() [all …]
|