Searched refs:getLocationContext (Results 1 - 25 of 61) sorted by path

123

/external/clang/examples/analyzer-plugin/
H A DMainCallChecker.cpp20 const LocationContext *LC = C.getLocationContext();
/external/clang/include/clang/Analysis/
H A DAnalysisContext.h390 const LOC *getLocationContext(AnalysisDeclContext *ctx,
H A DProgramPoint.h86 assert(getLocationContext() == l);
110 getLocationContext(), tag);
155 const LocationContext *getLocationContext() const { function in class:clang::ProgramPoint
184 ID.AddPointer(getLocationContext());
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h159 return getState()->getSVal(S, getLocationContext());
187 const LocationContext *getLocationContext() const { function in class:clang::ento::CallEvent
403 getLocationContext()->getAnalysisDeclContext()->
H A DCheckerContext.h138 const LocationContext *getLocationContext() const { function in class:clang::ento::CheckerContext
139 return Pred->getLocationContext();
147 bool inTopFrame() const { return getLocationContext()->inTopFrame(); }
174 return Pred->getLocationContext()->getAnalysisDeclContext();
196 return getState()->getSVal(S, getLocationContext());
H A DCoreEngine.h189 : Eng(E), Block(B), LC(N->getLocationContext()) { assert(B); }
386 Pred->getLocationContext(), tag);
396 Pred->getLocationContext(), tag);
491 const LocationContext *getLocationContext() const { function in class:clang::ento::IndirectGotoNodeBuilder
492 return Pred->getLocationContext();
544 const LocationContext *getLocationContext() const { function in class:clang::ento::SwitchNodeBuilder
545 return Pred->getLocationContext();
H A DEnvironment.h40 const LocationContext *getLocationContext() const { return second; } function in class:clang::ento::EnvironmentEntry
46 ID.AddPointer(E.getLocationContext());
H A DExplodedGraph.h136 const LocationContext *getLocationContext() const { function in class:clang::ento::ExplodedNode
137 return getLocation().getLocationContext();
141 return getLocationContext()->getCurrentStackFrame();
144 const Decl &getCodeDecl() const { return *getLocationContext()->getDecl(); }
146 CFG &getCFG() const { return *getLocationContext()->getCFG(); }
148 ParentMap &getParentMap() const {return getLocationContext()->getParentMap();}
152 return *getLocationContext()->getAnalysis<T>();
H A DSymbolManager.h594 const LocationContext *getLocationContext() const { return LCtx; } function in class:clang::ento::SymbolReaper
/external/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp335 LocationContextManager::getLocationContext(AnalysisDeclContext *ctx, function in class:LocationContextManager
372 return getLocationContext<ScopeContext, Stmt>(ctx, parent, s);
/external/clang/lib/StaticAnalyzer/Checkers/
H A DAnalyzerStatsChecker.cpp50 const LocationContext *LC = GraphRoot->getLocation().getLocationContext();
60 if (D != P.getLocationContext()->getDecl())
H A DBasicObjCFoundationChecks.cpp445 const LocationContext *LCtx = C.getLocationContext();
574 SVal ArgVal = state->getSVal(Arg, C.getLocationContext());
920 const LocationContext *LCtx = C.getLocationContext();
982 State->getSVal(FCS->getCollection(), C.getLocationContext()).getAsSymbol();
1217 SVal Val = State->getSVal(NonNullExpr, C.getLocationContext());
H A DBuiltinFunctionChecker.cpp36 const LocationContext *LCtx = C.getLocationContext();
59 RM.getAllocaRegion(CE, C.blockCount(), C.getLocationContext());
H A DCStringChecker.cpp350 const LocationContext *LCtx = C.getLocationContext();
432 const LocationContext *LCtx = C.getLocationContext();
841 const LocationContext *LCtx = C.getPredecessor()->getLocationContext();
915 const LocationContext *LCtx = C.getLocationContext();
1072 const LocationContext *LCtx = C.getLocationContext();
1155 const LocationContext *LCtx = C.getLocationContext();
1330 const LocationContext *LCtx = C.getLocationContext();
1689 const LocationContext *LCtx = C.getLocationContext();
1823 const LocationContext *LCtx = C.getLocationContext();
1958 Loc VarLoc = state->getLValue(D, C.getLocationContext());
[all...]
H A DCallAndMessageChecker.cpp303 const LocationContext *LCtx = C.getLocationContext();
539 const LocationContext *LCtx = C.getLocationContext();
549 if (CanRetTy != Ctx.VoidTy && C.getLocationContext()->getParentMap()
H A DCastSizeChecker.cpp107 const MemRegion *R = state->getSVal(E, C.getLocationContext()).getAsRegion();
H A DChrootChecker.cpp108 SVal ArgVal = state->getSVal(ArgExpr, C.getLocationContext());
H A DDereferenceChecker.cpp129 State.get(), N->getLocationContext());
137 State.get(), N->getLocationContext(), true);
146 State.get(), N->getLocationContext(), true);
155 State.get(), N->getLocationContext(), true);
H A DDivZeroChecker.cpp60 SVal Denom = C.getState()->getSVal(B->getRHS(), C.getLocationContext());
H A DDynamicTypePropagation.cpp168 const Decl *D = C.getLocationContext()->getDecl();
H A DExprInspectionChecker.cpp61 const LocationContext *LC = N->getLocationContext();
90 const LocationContext *LC = N->getLocationContext();
118 const LocationContext *LC = N->getLocationContext();
H A DFixedAddressChecker.cpp48 SVal RV = state->getSVal(B->getRHS(), C.getLocationContext());
H A DGenericTaintChecker.cpp161 return (State->isTainted(E, C.getLocationContext()) || isStdin(E, C) ||
344 State = State->addTaint(CE, C.getLocationContext());
429 SVal AddrVal = State->getSVal(Arg->IgnoreParens(), C.getLocationContext());
521 if (State->isTainted(CE->getArg(0), C.getLocationContext()) ||
546 State = State->addTaint(CE, C.getLocationContext());
570 return C.getState()->addTaint(CE, C.getLocationContext());
575 SVal Val = State->getSVal(E, C.getLocationContext());
639 !State->isTainted(E, C.getLocationContext()))
H A DMacOSKeychainAPIChecker.cpp219 SVal ArgV = State->getSVal(Expr, C.getLocationContext());
330 SVal ArgSVal = State->getSVal(ArgExpr, C.getLocationContext());
461 C.getLocationContext()->getParent() == nullptr)
478 State->getSVal(CE, C.getLocationContext()).getAsSymbol();
494 const LocationContext *LeakContext = N->getLocationContext();
504 if (N->getLocationContext() == LeakContext)
538 AllocNode->getLocationContext());
541 AllocNode->getLocationContext()->getDecl());
617 N->getLocationContext());
H A DMacOSXAPIChecker.cpp61 state->getSVal(CE->getArg(0), C.getLocationContext()).getAsRegion();

Completed in 1100 milliseconds

123