Home
last modified time | relevance | path

Searched refs:LocationContext (Results 1 – 25 of 62) sorted by relevance

123

/external/clang/include/clang/Analysis/
DAnalysisContext.h39 class LocationContext; variable
183 const StackFrameContext *getStackFrame(LocationContext const *Parent,
189 getBlockInvocationContext(const LocationContext *parent,
214 class LocationContext : public llvm::FoldingSetNode {
225 const LocationContext *Parent;
228 LocationContext(ContextKind k, AnalysisDeclContext *ctx, in LocationContext() function
229 const LocationContext *parent) in LocationContext()
233 virtual ~LocationContext();
239 const LocationContext *getParent() const { return Parent; } in getParent()
241 bool isParentOf(const LocationContext *LC) const;
[all …]
DProgramPoint.h35 class LocationContext; variable
94 llvm::PointerIntPair<const LocationContext *, 2, unsigned> L;
102 const LocationContext *l,
116 const LocationContext *l,
178 const LocationContext *getLocationContext() const { in getLocationContext()
212 const LocationContext *LC,
218 BlockEntrance(const CFGBlock *B, const LocationContext *L,
243 BlockExit(const CFGBlock *B, const LocationContext *L) in BlockExit()
264 StmtPoint(const Stmt *S, const void *p2, Kind k, const LocationContext *L, in StmtPoint()
288 PreStmt(const Stmt *S, const LocationContext *L, const ProgramPointTag *tag,
[all …]
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp317 AnalysisDeclContext::getStackFrame(LocationContext const *Parent, const Stmt *S, in getStackFrame()
323 AnalysisDeclContext::getBlockInvocationContext(const LocationContext *parent, in getBlockInvocationContext()
355 void LocationContext::ProfileCommon(llvm::FoldingSetNodeID &ID, in ProfileCommon()
358 const LocationContext *parent, in ProfileCommon()
385 const LocationContext *parent, in getLocationContext()
402 const LocationContext *parent, in getStackFrame()
419 const LocationContext *parent, in getScope()
426 const LocationContext *parent, in getBlockInvocationContext()
446 const StackFrameContext *LocationContext::getCurrentStackFrame() const { in getCurrentStackFrame()
447 const LocationContext *LC = this; in getCurrentStackFrame()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h144 const LocationContext *LCtx;
168 CallEvent(const Expr *E, ProgramStateRef state, const LocationContext *lctx) in CallEvent()
171 CallEvent(const Decl *D, ProgramStateRef state, const LocationContext *lctx) in CallEvent()
213 const LocationContext *getLocationContext() const { in getLocationContext()
423 const LocationContext *LCtx) in AnyFunctionCall()
426 const LocationContext *LCtx) in AnyFunctionCall()
473 const LocationContext *LCtx) in SimpleFunctionCall()
509 const LocationContext *LCtx) in BlockCall()
616 const LocationContext *LCtx) in CXXInstanceCall()
619 const LocationContext *LCtx) in CXXInstanceCall()
[all …]
DProgramState.h221 const VarRegion* getRegion(const VarDecl *D, const LocationContext *LC) const;
229 ProgramStateRef BindExpr(const Stmt *S, const LocationContext *LCtx,
262 unsigned BlockCount, const LocationContext *LCtx,
269 unsigned BlockCount, const LocationContext *LCtx,
280 Loc getLValue(const VarDecl *D, const LocationContext *LC) const;
283 const LocationContext *LC) const;
298 SVal getSVal(const Stmt *S, const LocationContext *LCtx) const;
300 SVal getSValAsScalarOrLoc(const Stmt *Ex, const LocationContext *LCtx) const;
344 ProgramStateRef addTaint(const Stmt *S, const LocationContext *LCtx,
356 bool isTainted(const Stmt *S, const LocationContext *LCtx,
[all …]
DSValBuilder.h151 const LocationContext *LCtx,
159 const LocationContext *LCtx,
179 const LocationContext *LCtx,
183 const LocationContext *LCtx,
188 const LocationContext *LCtx,
195 const LocationContext *LCtx,
208 const LocationContext *locContext,
DExprEngine.h108 bool ExecuteWorkList(const LocationContext *L, unsigned Steps = 150000) {
116 bool ExecuteWorkListWithInitialState(const LocationContext *L, unsigned Steps, in ExecuteWorkListWithInitialState()
157 ProgramStateRef getInitialState(const LocationContext *InitLoc) override;
188 const Stmt *ReferenceStmt, const LocationContext *LC,
549 const LocationContext *LCtx,
580 void examineStackFrames(const Decl *D, const LocationContext *LCtx,
601 bool replayWithoutInlining(ExplodedNode *P, const LocationContext *CalleeLC);
615 const LocationContext *LC,
DStore.h81 virtual StoreRef getInitialStore(const LocationContext *InitLoc) = 0;
87 virtual Loc getLValueVar(const VarDecl *VD, const LocationContext *LC) { in getLValueVar()
92 const LocationContext *LC) { in getLValueCompoundLiteral()
187 const LocationContext *LCtx,
DSymbolManager.h77 const LocationContext *LCtx;
81 SymbolConjured(SymbolID sym, const Stmt *s, const LocationContext *lctx, in SymbolConjured()
95 QualType T, unsigned Count, const LocationContext *LCtx, in Profile()
416 const LocationContext *LCtx,
422 const LocationContext *LCtx,
510 const LocationContext *getLocationContext() const { return LCtx; } in getLocationContext()
514 bool isLive(const Stmt *ExprVal, const LocationContext *LCtx) const;
DEnvironment.h38 EnvironmentEntry(const Stmt *s, const LocationContext *L);
41 const LocationContext *getLocationContext() const { return second; } in getLocationContext()
DSubEngine.h24 class LocationContext; variable
48 virtual ProgramStateRef getInitialState(const LocationContext *InitLoc) = 0;
DMemRegion.h34 class LocationContext; variable
630 const LocationContext *LC; // Can be null */
635 BlockDataRegion(const BlockCodeRegion *bc, const LocationContext *lc, in BlockDataRegion()
690 const LocationContext *, unsigned,
1178 const LocationContext *LC);
1184 const LocationContext *LC);
1189 const LocationContext *LC);
1203 const VarRegion* getVarRegion(const VarDecl *D, const LocationContext *LC);
1241 LocationContext const *LC);
1270 const LocationContext *lc,
DCoreEngine.h125 bool ExecuteWorkList(const LocationContext *L, unsigned Steps,
128 bool ExecuteWorkListWithInitialState(const LocationContext *L,
185 const LocationContext *LC;
489 const LocationContext *getLocationContext() const { in getLocationContext()
542 const LocationContext *getLocationContext() const { in getLocationContext()
DLoopWidening.h30 const LocationContext *LCtx,
/external/libtextclassifier/native/annotator/knowledge/
Dknowledge-engine-dummy.h41 const Optional<LocationContext>& location_context, in ClassifyText()
48 const Optional<LocationContext>& location_context, in Chunk()
57 const Optional<LocationContext>& location_context, in ChunkMultipleSpans()
/external/clang/lib/StaticAnalyzer/Core/
DPrettyStackTraceLocationContext.h30 const LocationContext *LCtx;
32 PrettyStackTraceLocationContext(const LocationContext *LC) : LCtx(LC) { in PrettyStackTraceLocationContext()
DExprEngineCXX.cpp31 const LocationContext *LCtx = Pred->getLocationContext(); in CreateCXXTemporaryObject()
56 const LocationContext *LCtx = Pred->getLocationContext(); in performTrivialCopy()
109 const LocationContext *LCtx = Pred->getLocationContext(); in getRegionForConstructedObject()
236 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCXXConstructExpr()
361 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCXXDestructor()
404 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCXXNewAllocatorCall()
434 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCXXNewExpr()
547 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCXXCatchStmt()
562 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCXXThisExpr()
575 const LocationContext *LocCtxt = Pred->getLocationContext(); in VisitLambdaExpr()
DExprEngineC.cpp39 const LocationContext *LCtx = (*it)->getLocationContext(); in VisitBinaryOperator()
131 const LocationContext *LCtx = (*I)->getLocationContext(); in VisitBinaryOperator()
260 const LocationContext *LCtx = subExprNode->getLocationContext(); in VisitCast()
279 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCast()
306 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCast()
449 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCompoundLiteralExpr()
497 const LocationContext *LC = N->getLocationContext(); in VisitDeclStmt()
627 const LocationContext *LCtx = Pred->getLocationContext(); in VisitInitListExpr()
679 const LocationContext *LCtx = Pred->getLocationContext(); in VisitGuardedExpr()
824 const LocationContext *LCtx = (*I)->getLocationContext(); in VisitUnaryOperator()
[all …]
DExprEngine.cpp105 ProgramStateRef ExprEngine::getInitialState(const LocationContext *InitLoc) { in getInitialState()
185 const LocationContext *LC, in createTemporaryRegionIfNeeded()
319 const LocationContext *LC) { in shouldRemoveDeadBindings()
345 const LocationContext *LC, in removeDead()
583 const LocationContext *LCtx = Pred->getLocationContext(); in ProcessNewAllocator()
613 const LocationContext *LCtx = Pred->getLocationContext(); in ProcessDeleteDtor()
640 const LocationContext *LCtx = Pred->getLocationContext(); in ProcessBaseDtor()
661 const LocationContext *LCtx = Pred->getLocationContext(); in ProcessMemberDtor()
965 const LocationContext *LCtx = Pred->getLocationContext(); in Visit()
1001 const LocationContext *LCtx = N->getLocationContext(); in Visit()
[all …]
DExprEngineCallAndReturn.cpp180 const LocationContext *LCtx = Pred->getLocationContext(); in removeDeadOnEndOfFunction()
249 const LocationContext *LCtx = CEBNode->getLocationContext(); in processCallExit()
359 void ExprEngine::examineStackFrames(const Decl *D, const LocationContext *LCtx, in examineStackFrames()
409 const LocationContext *CurLC = Pred->getLocationContext(); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
411 const LocationContext *ParentOfCallee = CallerSFC; in REGISTER_TRAIT_WITH_PROGRAMSTATE()
524 const LocationContext *LCtx, in bindReturnValue()
581 const LocationContext *CurLC = Pred->getLocationContext(); in mayInlineCallKind()
DProgramState.cpp141 const LocationContext *LCtx, in invalidateRegions()
158 const LocationContext *LCtx, in invalidateRegions()
171 const LocationContext *LCtx, in invalidateRegionsImpl()
291 const LocationContext *LCtx, in BindExpr()
364 ProgramStateRef ProgramStateManager::getInitialState(const LocationContext *InitLoc) { in getInitialState()
652 const LocationContext *LCtx, in addTaint()
687 bool ProgramState::isTainted(const Stmt *S, const LocationContext *LCtx, in isTainted()
/external/clang/lib/StaticAnalyzer/Checkers/
DUndefBranchChecker.cpp32 const LocationContext *LCtx;
34 FindUndefExpr(ProgramStateRef S, const LocationContext *L) in FindUndefExpr()
DTraversalChecker.cpp80 for (const LocationContext *LC = C.getLocationContext()->getParent(); in checkPreCall()
97 for (const LocationContext *LC = C.getLocationContext()->getParent(); in checkPostCall()
DExprInspectionChecker.cpp75 const LocationContext *LC = N->getLocationContext(); in getArgumentValueString()
115 const LocationContext *LC = C.getPredecessor()->getLocationContext(); in analyzerEval()
132 const LocationContext *LC = C.getPredecessor()->getLocationContext(); in analyzerCheckInlined()
DCheckObjCDealloc.cpp154 bool isInInstanceDealloc(const CheckerContext &C, const LocationContext *LCtx,
161 const ObjCImplDecl *getContainingObjCImpl(const LocationContext *LCtx) const;
271 const LocationContext *LCtx = C.getLocationContext(); in checkBeginFunction()
502 const LocationContext *LCtx = C.getLocationContext(); in diagnoseMissingReleases()
631 const LocationContext *LCtx = C.getLocationContext(); in findPropertyOnDeallocatingInstance()
801 ObjCDeallocChecker::getContainingObjCImpl(const LocationContext *LCtx) const { in getContainingObjCImpl()
977 const LocationContext *LCtx, in isInInstanceDealloc()
996 const LocationContext *LCtx = C.getLocationContext(); in instanceDeallocIsOnStack()

123