Searched refs:getLocationContext (Results 1 - 25 of 64) sorted by relevance

123

/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DTraversalChecker.cpp42 const ParentMap &Parents = C.getLocationContext()->getParentMap();
84 for (const LocationContext *LC = C.getLocationContext()->getParent();
101 for (const LocationContext *LC = C.getLocationContext()->getParent();
H A DSmartPtrModeling.cpp61 State->BindExpr(Call.getOriginExpr(), C.getLocationContext(),
H A DTaintTesterChecker.cpp52 if (isTainted(State, E, C.getLocationContext())) {
H A DBuiltinFunctionChecker.cpp39 const LocationContext *LCtx = C.getLocationContext();
83 RM.getAllocaRegion(CE, C.blockCount(), C.getLocationContext());
H A DDebugIteratorModeling.cpp105 State = State->BindExpr(CE, C.getLocationContext(),
114 State = State->BindExpr(CE, C.getLocationContext(),
146 State = State->BindExpr(CE, C.getLocationContext(), get(Pos));
148 State = State->BindExpr(CE, C.getLocationContext(), Default);
H A DUndefinedArraySubscriptChecker.cpp43 const Decl *D = C.getLocationContext()->getDecl();
H A DDereferenceChecker.cpp141 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);
H A DAnalyzerStatsChecker.cpp49 const LocationContext *LC = GraphRoot->getLocation().getLocationContext();
59 if (D != P.getLocationContext()->getDecl())
H A DCXXSelfAssignmentChecker.cpp41 const auto *LCtx = C.getLocationContext();
H A DUndefBranchChecker.cpp95 FindUndefExpr FindIt(St, Ctx.getLocationContext());
H A DStreamChecker.cpp140 const LocationContext *LCtx = C.getPredecessor()->getLocationContext();
148 state = state->BindExpr(CE, C.getLocationContext(), RetVal);
193 State->BindExpr(CE, C.getLocationContext(), *StreamVal);
196 ProgramStateRef StateRetNull = State->BindExpr(CE, C.getLocationContext(),
227 checkFseekWhence(State->getSVal(AE2, C.getLocationContext()), C, State);
H A DValistChecker.cpp226 const LocationContext *LeakContext = N->getLocationContext();
239 const LocationContext *NContext = N->getLocationContext();
289 StartCallStmt, C.getSourceManager(), StartNode->getLocationContext());
301 StartNode->getLocationContext()->getDecl());
399 N->getLocationContext());
H A DExprInspectionChecker.cpp109 const LocationContext *LC = N->getLocationContext();
157 const LocationContext *LC = C.getPredecessor()->getLocationContext();
183 const LocationContext *LC = C.getPredecessor()->getLocationContext();
237 State = State->BindExpr(CE, C.getLocationContext(),
309 C.getLocationContext()->getDecl(), Opts);
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineObjC.cpp25 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());
H A DCoreEngine.cpp214 const LocationContext *LC = Pred->getLocationContext();
239 if (Blk == &(L.getLocationContext()->getCFG()->getExit())) {
240 assert(L.getLocationContext()->getCFG()->getExit().empty() &&
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());
[all...]
H A DEnvironment.cpp88 const LocationContext *LCtx = Entry.getLocationContext();
191 if (SymReaper.isLive(BlkExpr.getStmt(), BlkExpr.getLocationContext())) {
219 const LocationContext *LC = I.first.getLocationContext();
244 if (I->first.getLocationContext() != LC)
261 if (I->first.getLocationContext() != LC)
H A DExprEngineC.cpp57 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();
[all...]
H A DExprEngine.cpp139 const LocationContext *getLocationContext() const { return Impl.second; } function in class:__anon885::ConstructedObjectKey
142 return getLocationContext()->getDecl()->getASTContext();
522 if (I.first.getLocationContext() == LC)
568 if (Key.getLocationContext() != LCtx)
582 if (Key.getLocationContext() != LCtx)
629 PrettyStackTraceLocationContext CrashInfo(Pred->getLocationContext());
780 Pred->getLocationContext())) {
782 Pred->getLocationContext());
811 LoopExit PP(S, Pred->getLocationContext());
821 const LocationContext *LC = Pred->getLocationContext();
[all...]
H A DLoopUnrolling.cpp48 const LocationContext *getLocationContext() const { return LCtx; } function in struct:LoopState
186 N->getLocationContext()->getAnalysisDeclContext()->getASTContext();
254 auto LCtx = Pred->getLocationContext();
261 LCtx == LS.getHead().getLocationContext()) {
H A DExplodedGraph.cpp119 progPoint.getLocationContext() != pred->getLocationContext())
138 const ParentMap &PM = progPoint.getLocationContext()->getParentMap();
301 return getLocationContext()
326 const LocationContext *LC = getLocationContext();
H A DExprEngineCallAndReturn.cpp179 const LocationContext *LCtx = Pred->getLocationContext();
205 PrettyStackTraceLocationContext CrashInfo(CEBNode->getLocationContext());
230 const LocationContext *LCtx = CEBNode->getLocationContext();
436 const LocationContext *CurLC = Pred->getLocationContext();
507 = CEMgr.getSimpleCall(CE, Pred->getState(), Pred->getLocationContext());
533 const LocationContext *LC = Call.getLocationContext();
561 const LocationContext *LC = Call.getLocationContext();
627 State = processPointerEscapedOnBind(State, Escaped, I->getLocationContext(),
712 State = bindReturnValue(Call, Pred->getLocationContext(), State);
722 const LocationContext *CurLC = Pred->getLocationContext();
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DEnvironment.h41 const LocationContext *getLocationContext() const { return second; } function in class:clang::ento::EnvironmentEntry
47 ID.AddPointer(E.getLocationContext());
H A DCheckerContext.h91 const LocationContext *getLocationContext() const { function in class:clang::ento::CheckerContext
92 return Pred->getLocationContext();
100 bool inTopFrame() const { return getLocationContext()->inTopFrame(); }
123 return Pred->getLocationContext()->getAnalysisDeclContext();
H A DExplodedGraph.h146 const LocationContext *getLocationContext() const { function in class:clang::ento::ExplodedNode
147 return getLocation().getLocationContext();
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());
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp142 Context.getLocationContext()->getDecl());
183 CallSite, Context.getSourceManager(), Node->getLocationContext());
192 Node->getLocationContext()->getDecl());
206 Node->getLocationContext()->getDecl());
480 const LocationContext *LC = Context.getLocationContext();

Completed in 135 milliseconds

123