|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h 92 return Pred->getLocationContext();
123 return Pred->getLocationContext()->getAnalysisDeclContext();
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h 213 : Eng(E), Block(B), LC(N->getLocationContext()) { assert(B); }
413 Pred->getLocationContext(), tag);
423 Pred->getLocationContext(), tag);
521 return Pred->getLocationContext();
575 return Pred->getLocationContext();
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h 154 const Decl &getCodeDecl() const { return *getLocationContext()->getDecl(); }
156 CFG &getCFG() const { return *getLocationContext()->getCFG(); }
161 return getLocationContext()->getParentMap();
166 return *getLocationContext()->getAnalysis<T>();
178 return getState()->getSVal(S, getLocationContext());
tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp 975 const LocationContext *LCtx = C.getPredecessor()->getLocationContext();
tools/clang/lib/StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp 142 N->getLocationContext());
tools/clang/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp 141 State.get(), N->getLocationContext());
149 State.get(), N->getLocationContext());
157 State.get(), N->getLocationContext(), true);
166 State.get(), N->getLocationContext(), true);
175 State.get(), N->getLocationContext(), true);
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypeChecker.cpp 141 N->getLocationContext());
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp 974 N->getLocationContext());
tools/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp 109 const LocationContext *LC = N->getLocationContext();
157 const LocationContext *LC = C.getPredecessor()->getLocationContext();
183 const LocationContext *LC = C.getPredecessor()->getLocationContext();
tools/clang/lib/StaticAnalyzer/Checkers/InnerPointerChecker.cpp 301 N->getLocationContext());
tools/clang/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp 452 const LocationContext *LeakContext = N->getLocationContext();
462 const LocationContext *NContext = N->getLocationContext();
492 AllocNode->getLocationContext());
496 AllocNode->getLocationContext()->getDecl());
645 N->getLocationContext());
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp 1527 const LocationContext *LCtx = C.getPredecessor()->getLocationContext();
2515 const LocationContext *LeakContext = N->getLocationContext();
2544 const LocationContext *NContext = N->getLocationContext();
2598 AllocNode->getLocationContext());
2611 AllocNode->getLocationContext()->getDecl());
3185 const LocationContext *CurrentLC = N->getLocationContext();
3348 N->getLocationContext());
tools/clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp 328 N->getLocationContext());
406 MoveStmt, C.getSourceManager(), MoveNode->getLocationContext());
434 MoveNode->getLocationContext()->getDecl());
tools/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp 325 N->getLocationContext());
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp 250 state->getSVal(Ex, pred->getLocationContext()).getAsSymbol()) {
1380 const LocationContext *LCtx = Pred->getLocationContext();
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp 480 const LocationContext *LCtx = N->getLocationContext();
538 PathDiagnosticLocation Pos(S, SM, N->getLocationContext());
591 N->getLocationContext());
636 const LocationContext *LeakContext = N->getLocationContext();
644 const LocationContext *NContext = N->getLocationContext();
708 AllocationNodeInCurrentOrParentContext->getLocationContext() !=
880 AllocNode->getLocationContext());
886 UniqueingDecl = AllocNode->getLocationContext()->getDecl();
tools/clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp 217 const LocationContext *LCtx = C.getPredecessor()->getLocationContext();
tools/clang/lib/StaticAnalyzer/Checkers/Taint.cpp 220 const LocationContext *NCtx = N->getLocationContext();
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp 183 CallSite, Context.getSourceManager(), Node->getLocationContext());
192 Node->getLocationContext()->getDecl());
206 Node->getLocationContext()->getDecl());
tools/clang/lib/StaticAnalyzer/Checkers/ValistChecker.cpp 226 const LocationContext *LeakContext = N->getLocationContext();
239 const LocationContext *NContext = N->getLocationContext();
289 StartCallStmt, C.getSourceManager(), StartNode->getLocationContext());
301 StartNode->getLocationContext()->getDecl());
399 N->getLocationContext());
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp 142 return CurrentNode->getLocationContext();
1972 LCM[&PD->getActivePath()] = ErrorNode->getLocationContext();
2133 const LocationContext *LC = N->getLocationContext();
2376 return PathDiagnosticLocation::createDeclEnd(ErrorNode->getLocationContext(),
2855 E->getLocationContext()->getAnalysisDeclContext();
3089 const Decl *D = N->getLocationContext()->getDecl();
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp 186 const LocationContext *LCtx = N->getLocationContext();
396 const LocationContext *Ctx = N->getLocationContext();
548 const LocationContext *Ctx = N->getLocationContext();
622 const LocationContext *Ctx = N->getLocationContext();
633 FramesModifyingCalculated.insert(N->getLocationContext()->getStackFrame());
855 auto *LCtx = N->getLocationContext();
1007 if (N->getLocationContext() != CalleeSFC)
1239 const LocationContext *LCtx = N->getLocationContext();
1648 const LocationContext *CurLC =Succ->getLocationContext();
1649 const LocationContext *ReportLC = BR.getErrorNode()->getLocationContext();
1749 Cond, BRC.getSourceManager(), N->getLocationContext()),
1842 return MRMgr.getVarRegion(VD, N->getLocationContext());
2030 SVal V = LVState->getSValAsScalarOrLoc(Inner, LVNode->getLocationContext());
2127 N->getLocationContext());
2254 const LocationContext *LCtx = N->getLocationContext();
2351 const LocationContext *LCtx = N->getLocationContext();
2488 const LocationContext *LCtx = N->getLocationContext();
2537 const LocationContext *LCtx = N->getLocationContext();
2567 const LocationContext *LCtx = N->getLocationContext();
2600 const LocationContext *LCtx = N->getLocationContext();
2681 const Decl *D = N->getLocationContext()->getDecl();
2716 for (const LocationContext *LCtx = N->getLocationContext(); LCtx;
2853 BR.markInvalid("Infeasible constraints", EndPathNode->getLocationContext());
tools/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp 175 Pred->getLocationContext(), checkFn.Checker);
339 Pred->getLocationContext(),
460 FunctionExitPoint(RS, Pred->getLocationContext(), checkFn.Checker);
484 ProgramPoint L = PostCondition(Condition, Pred->getLocationContext(),
525 ProgramPoint L = PostAllocatorCall(NE, Pred->getLocationContext());
571 Pred->getLocationContext(), checkFn.Checker);
667 Pred->getLocationContext(),
tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp 214 const LocationContext *LC = Pred->getLocationContext();
264 BlockEntrance BE(Blk, Pred->getLocationContext());
280 const LocationContext *LC = Pred->getLocationContext();
335 generateNode(BlockEdge(B, succ, Pred->getLocationContext()),
415 generateNode(BlockEdge(B, *(B->succ_begin()), Pred->getLocationContext()),
473 const LocationContext *LCtx = Pred->getLocationContext();
546 PostStmt Loc(CS.getStmt(), N->getLocationContext());
566 const auto *LocCtx = cast<StackFrameContext>(N->getLocationContext());
591 if (I->getLocationContext()->getParent()) {
642 NodePred->getLocationContext());
653 Eng.G.getNode(BlockEdge(Src, I.getBlock(), Pred->getLocationContext()),
671 Eng.G.getNode(BlockEdge(Src, I.getBlock(), Pred->getLocationContext()),
695 Eng.G.getNode(BlockEdge(Src, DefaultBlock, Pred->getLocationContext()),
tools/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp 119 progPoint.getLocationContext() != pred->getLocationContext())
301 return getLocationContext()
326 const LocationContext *LC = getLocationContext();
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp 629 PrettyStackTraceLocationContext CrashInfo(Pred->getLocationContext());
779 Pred->getLocationContext())) {
781 Pred->getLocationContext());
810 LoopExit PP(S, Pred->getLocationContext());
820 const LocationContext *LC = Pred->getLocationContext();
827 const auto *stackFrame = cast<StackFrameContext>(Pred->getLocationContext());
943 const LocationContext *LCtx = Pred->getLocationContext();
957 SVal dest = state->getLValue(varDecl, Pred->getLocationContext());
988 const LocationContext *LCtx = Pred->getLocationContext();
1026 const LocationContext *LCtx = Pred->getLocationContext();
1049 const LocationContext *LCtx = Pred->getLocationContext();
1073 const LocationContext *LC = Pred->getLocationContext();
1078 Pred->getLocationContext())) {
1083 Pred->getLocationContext());
1094 Pred->getLocationContext());
1137 const LocationContext *LC = Pred->getLocationContext();
1162 const LocationContext *LC = Node->getLocationContext();
1324 state = state->BindExpr(S, Pred->getLocationContext(),
1437 const LocationContext *LCtx = Pred->getLocationContext();
1470 const LocationContext *LCtx = N->getLocationContext();
1541 state->BindExpr(B, Pred->getLocationContext(),
1543 Pred->getLocationContext())));
1571 const LocationContext *LCtx = Pred->getLocationContext();
1804 state->BindExpr(SE, Pred->getLocationContext(),
1806 Pred->getLocationContext())));
1830 SVal V = state->getSVal(Result, Pred->getLocationContext());
1832 state->BindExpr(S, Pred->getLocationContext(), V));
1836 state->BindExpr(S, Pred->getLocationContext(),
1884 EpsilonPoint(BeforeProcessingCall->getLocationContext(), CE);
1912 PrettyStackTraceLocationContext CrashInfo(Pred->getLocationContext());
1943 const LocationContext *LCtx = Pred->getLocationContext();
2095 const LocationContext *LCtx = Pred->getLocationContext();
2128 SVal X = PrevState->getSVal(Condition, PredI->getLocationContext());
2139 PredI->getLocationContext(),
2191 PrettyStackTraceLocationContext CrashInfo(Pred->getLocationContext());
2280 const LocationContext *FromLC = Pred->getLocationContext();
2313 Pred->getLocationContext(),
2316 PrettyStackTraceLocationContext CrashInfo(Pred->getLocationContext());
2319 if (Pred->getLocationContext()->inTopFrame()) {
2425 const LocationContext *LCtx = Pred->getLocationContext();
2431 const LocationContext *LocCtxt = Pred->getLocationContext();
2531 const LocationContext *LCtx = Node->getLocationContext();
2581 const LocationContext *LCtx = I->getLocationContext();
2654 const LocationContext *LCtx = I->getLocationContext();
2763 const LocationContext *LC = Pred->getLocationContext();
2863 const LocationContext *LCtx = I->getLocationContext();
2938 SVal V = state->getSVal(Ex, Pred->getLocationContext());
2950 StateTrue = StateTrue->BindExpr(Ex, Pred->getLocationContext(), Val);
2957 StateFalse = StateFalse->BindExpr(Ex, Pred->getLocationContext(), Val);
2977 SVal X = state->getSVal(O, Pred->getLocationContext());
2981 state = state->bindLoc(*LV, UnknownVal(), Pred->getLocationContext());
3087 State->printDOT(Out, N->getLocationContext(), Space);
tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp 57 const LocationContext *LCtx = (*it)->getLocationContext();
140 const LocationContext *LCtx = (*I)->getLocationContext();
204 Pred->getLocationContext(),
238 const LocationContext *LCtx = Pred->getLocationContext();
252 State->BindExpr(BE, Pred->getLocationContext(), V),
312 const LocationContext *LCtx = subExprNode->getLocationContext();
331 const LocationContext *LCtx = Pred->getLocationContext();
358 const LocationContext *LCtx = Pred->getLocationContext();
555 const LocationContext *LCtx = Pred->getLocationContext();
595 const LocationContext *LC = N->getLocationContext();
715 SVal RHSVal = N->getState()->getSVal(RHS, Pred->getLocationContext());
729 Bldr.generateNode(B, Pred, state->BindExpr(B, Pred->getLocationContext(), X));
738 const LocationContext *LCtx = Pred->getLocationContext();
790 const LocationContext *LCtx = Pred->getLocationContext();
857 Pred->getState()->BindExpr(OOE, Pred->getLocationContext(),
898 state = state->BindExpr(Ex, (*I)->getLocationContext(),
919 const LocationContext *LCtx = (*I)->getLocationContext();
955 const LocationContext *LCtx = (*I)->getLocationContext();
970 const LocationContext *LCtx = (*I)->getLocationContext();
984 const LocationContext *LCtx = (*I)->getLocationContext();
1009 const LocationContext *LCtx = (*I)->getLocationContext();
1067 const LocationContext *LCtx = Pred->getLocationContext();
1080 assert(LCtx == (*I)->getLocationContext());
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp 32 const LocationContext *LCtx = Pred->getLocationContext();
68 const LocationContext *LCtx = Pred->getLocationContext();
398 const LocationContext *LCtx = Pred->getLocationContext();
609 const LocationContext *LCtx = Pred->getLocationContext();
636 Dest = MRMgr.getCXXTempObjectRegion(E, Pred->getLocationContext());
672 const LocationContext *LCtx = Pred->getLocationContext();
745 const LocationContext *LCtx = Pred->getLocationContext();
813 State = State->BindExpr(CNE, Pred->getLocationContext(), Result);
863 const LocationContext *LCtx = Pred->getLocationContext();
878 const LocationContext *LCtx = Pred->getLocationContext();
891 const LocationContext *LocCtxt = Pred->getLocationContext();
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp 178 const LocationContext *LCtx = Pred->getLocationContext();
204 PrettyStackTraceLocationContext CrashInfo(CEBNode->getLocationContext());
229 const LocationContext *LCtx = CEBNode->getLocationContext();
435 const LocationContext *CurLC = Pred->getLocationContext();
506 = CEMgr.getSimpleCall(CE, Pred->getState(), Pred->getLocationContext());
676 State = bindReturnValue(Call, Pred->getLocationContext(), State);
686 const LocationContext *CurLC = Pred->getLocationContext();
969 examineStackFrames(D, Pred->getLocationContext(), IsRecursive, StackDepth);
tools/clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp 25 const LocationContext *LCtx = Pred->getLocationContext();
54 const LocationContext *LCtx = Pred->getLocationContext();
117 SVal collectionV = state->getSVal(collection, Pred->getLocationContext());
123 elementV = state->getLValue(elemD, Pred->getLocationContext());
125 elementV = state->getSVal(elem, Pred->getLocationContext());
155 CEMgr.getObjCMethodCall(ME, Pred->getState(), Pred->getLocationContext());
tools/clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp 186 N->getLocationContext()->getAnalysisDeclContext()->getASTContext();
254 auto LCtx = Pred->getLocationContext();
tools/clang/lib/StaticAnalyzer/Core/WorkList.cpp 160 N->getLocationContext()->getStackFrame());
236 N->getLocationContext()->getStackFrame());