|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/include/clang/Analysis/AnalysisDeclContext.h 42 class StackFrameContext;
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h 22 class StackFrameContext;
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h 54 class StackFrameContext;
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h 49 class StackFrameContext;
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h 43 class StackFrameContext;
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h 42 class StackFrameContext;
References
include/llvm/Support/Casting.h 58 return To::classof(&Val);
106 return isa_impl<To, From>::doit(*Val);
122 return isa_impl_wrap<To, SimpleFrom,
132 return isa_impl_cl<To,FromTy>::doit(Val);
142 return isa_impl_wrap<X, const Y,
172 using ret_type = To *; // Pointer arg case, return Ty*
176 using ret_type = const To *; // Constant pointer arg case, return const Ty*
198 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
210 To, From, typename simplify_type<From>::SimpleType>::ret_type;
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
228 typename cast_retty<To, FromTy>::ret_type Res2
256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
265 return cast_convert_val<X, Y*,
305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
309 return cast<X>(Val);
337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
include/llvm/Support/PointerLikeTypeTraits.h 56 static inline void *getAsVoidPointer(T *P) { return P; }
57 static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
59 enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
91 typedef PointerLikeTypeTraits<T *> NonConst;
93 static inline const void *getAsVoidPointer(const T *P) {
96 static inline const T *getFromVoidPointer(const void *P) {
tools/clang/include/clang/Analysis/AnalysisDeclContext.h 185 const StackFrameContext *getStackFrame(LocationContext const *Parent,
268 const StackFrameContext *getStackFrame() const;
415 const StackFrameContext *getStackFrame(AnalysisDeclContext *ctx,
489 const StackFrameContext *getStackFrame(AnalysisDeclContext *Ctx,
497 const StackFrameContext *getStackFrame(const Decl *D) {
503 StackFrameContext const *getStackFrame(const Decl *D,
tools/clang/include/clang/Analysis/ProgramPoint.h 183 const StackFrameContext *getStackFrame() const {
632 CallEnter(const Stmt *stmt, const StackFrameContext *calleeCtx,
640 const StackFrameContext *getCalleeContext() const {
646 const StackFrameContext *CalleeCtx = getCalleeContext();
671 CallExitBegin(const StackFrameContext *L, const ReturnStmt *RS)
691 CallExitEnd(const StackFrameContext *CalleeCtx,
695 const StackFrameContext *getCalleeContext() const {
tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h 136 const StackFrameContext *OriginSFC;
151 const StackFrameContext *OriginSFC = nullptr)
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h 37 unsigned getNumVisited(const StackFrameContext *CallSite,
48 const StackFrameContext *CallSite,
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h 355 virtual void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
389 const StackFrameContext *getCalleeStackFrame(unsigned BlockCount) const;
482 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
624 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
662 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
859 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
1036 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
1204 getCaller(const StackFrameContext *CalleeCtx, ProgramStateRef State);
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h 95 const StackFrameContext *getStackFrame() const {
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h 36 const StackFrameContext *> {
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h 150 const StackFrameContext *getStackFrame() const {
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h 385 const StackFrameContext *SFC;
388 StackSpaceRegion(MemRegionManager *mgr, Kind k, const StackFrameContext *sfc)
395 const StackFrameContext *getStackFrame() const { return SFC; }
408 StackLocalsSpaceRegion(MemRegionManager *mgr, const StackFrameContext *sfc)
423 StackArgumentsSpaceRegion(MemRegionManager *mgr, const StackFrameContext *sfc)
952 const StackFrameContext *getStackFrame() const;
1253 llvm::DenseMap<const StackFrameContext *, StackLocalsSpaceRegion *>
1255 llvm::DenseMap<const StackFrameContext *, StackArgumentsSpaceRegion *>
1275 getStackLocalsRegion(const StackFrameContext *STC);
1280 getStackArgumentsRegion(const StackFrameContext *STC);
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h 299 const CallEvent &Call, const StackFrameContext *CalleeCtx) const;
537 const StackFrameContext *LCtx,
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h 380 const StackFrameContext *SFC);
384 const StackFrameContext *SFC);
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h 194 virtual StoreRef removeDeadBindings(Store store, const StackFrameContext *LCtx,
248 const StackFrameContext *CalleeCtx);
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h 563 const StackFrameContext *LCtx;
577 SymbolReaper(const StackFrameContext *Ctx, const Stmt *s,
tools/clang/lib/Analysis/AnalysisDeclContext.cpp 311 const StackFrameContext *
398 const StackFrameContext *LocationContextManager::getStackFrame(
402 StackFrameContext::Profile(ID, ctx, parent, s, blk, blockCount, idx);
404 auto *L =
405 cast_or_null<StackFrameContext>(Contexts.FindNodeOrInsertPos(ID, InsertPos));
407 L = new StackFrameContext(ctx, parent, s, blk, blockCount, idx, ++NewID);
442 const StackFrameContext *LocationContext::getStackFrame() const {
445 if (const auto *SFC = dyn_cast<StackFrameContext>(LC))
445 if (const auto *SFC = dyn_cast<StackFrameContext>(LC))
496 if (const Stmt *S = cast<StackFrameContext>(LCtx)->getCallSite()) {
543 if (const Stmt *S = cast<StackFrameContext>(LCtx)->getCallSite()) {
tools/clang/lib/Analysis/PathDiagnostic.cpp 507 getLocationForCaller(const StackFrameContext *SFC,
854 const StackFrameContext *CalleeCtx = CE.getCalleeContext();
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp 327 const StackFrameContext *SFCtx = C.getStackFrame();
tools/clang/lib/StaticAnalyzer/Checkers/MIGChecker.cpp 149 const StackFrameContext *SFC;
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp 687 const StackFrameContext *ReleaseDestructorLC;
tools/clang/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp 188 const StackFrameContext * SFC = C.getStackFrame();
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.h 386 inline bool isSynthesizedAccessor(const StackFrameContext *SFC) {
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp 353 const StackFrameContext *SC = Pred->getStackFrame();
356 const StackFrameContext *PC = SC->getParent()->getStackFrame();
tools/clang/lib/StaticAnalyzer/Checkers/ReturnUndefChecker.cpp 45 const StackFrameContext *SFC = C.getStackFrame();
tools/clang/lib/StaticAnalyzer/Checkers/ReturnValueChecker.cpp 123 const StackFrameContext *SFC = C.getStackFrame();
tools/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp 302 const StackFrameContext *CurSFC;
tools/clang/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp 30 const StackFrameContext *SFC;
33 ZeroState(SymbolRef S, unsigned B, const StackFrameContext *SFC)
36 const StackFrameContext *getStackFrameContext() const { return SFC; }
60 const StackFrameContext *SFC;
64 DivisionBRVisitor(SymbolRef ZeroSymbol, const StackFrameContext *SFC)
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp 1132 const StackFrameContext *CalleeLC = CE->getCalleeContext();
2044 const StackFrameContext *CalleeLC =
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp 354 llvm::SmallPtrSet<const StackFrameContext *, 32> FramesModifyingRegion;
355 llvm::SmallPtrSet<const StackFrameContext *, 32> FramesModifyingCalculated;
397 const StackFrameContext *SCtx = Ctx->getStackFrame();
549 const StackFrameContext *SCtx = Ctx->getStackFrame();
623 const StackFrameContext *OriginalSCtx = Ctx->getStackFrame();
636 const StackFrameContext *SCtx = N->getStackFrame();
888 const StackFrameContext *CalleeSFC;
901 ReturnVisitor(const StackFrameContext *Frame, bool Suppressed,
938 const StackFrameContext *CurrentSFC = Node->getStackFrame();
951 const StackFrameContext *PredSFC = Node->getStackFrame();
976 const StackFrameContext *CalleeContext = CEE->getCalleeContext();
1948 const StackFrameContext *SFC = LVNode->getStackFrame();
tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp 194 const StackFrameContext *
226 const StackFrameContext *SFC = getCalleeStackFrame(BlockCount);
504 static void addParameterValuesToBindings(const StackFrameContext *CalleeCtx,
592 const StackFrameContext *CalleeCtx,
788 const StackFrameContext *CalleeCtx,
868 void BlockCall::getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
909 const StackFrameContext *CalleeCtx,
1342 const StackFrameContext *CalleeCtx,
1380 CallEventManager::getCaller(const StackFrameContext *CalleeCtx,
tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp 566 const auto *LocCtx = cast<StackFrameContext>(N->getLocationContext());
566 const auto *LocCtx = cast<StackFrameContext>(N->getLocationContext());
tools/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp 329 return cast<StackFrameContext>(findTopAutosynthesizedParentContext(LC))
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp 294 const StackFrameContext *SFC = InitLoc->getStackFrame();
716 const StackFrameContext *SFC = LC ? LC->getStackFrame() : nullptr;
827 const auto *stackFrame = cast<StackFrameContext>(Pred->getLocationContext());
827 const auto *stackFrame = cast<StackFrameContext>(Pred->getLocationContext());
1847 const StackFrameContext *CalleeSF = CalleeLC->getStackFrame();
1848 const StackFrameContext *CallerSF = CalleeSF->getParent()->getStackFrame();
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp 189 const StackFrameContext *SFC = LCtx->getStackFrame();
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp 42 const StackFrameContext *calleeCtx = CE.getCalleeContext();
76 const StackFrameContext *SF = Node->getStackFrame();
185 const StackFrameContext *calleeCtx) {
205 const StackFrameContext *calleeCtx = CEBNode->getStackFrame();
209 const StackFrameContext *callerCtx =
393 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LCtx)) {
393 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LCtx)) {
436 const StackFrameContext *CallerSFC = CurLC->getStackFrame();
453 const StackFrameContext *CalleeSFC =
687 const StackFrameContext *CallerSFC = CurLC->getStackFrame();
tools/clang/lib/StaticAnalyzer/Core/LoopWidening.cpp 58 const StackFrameContext *STC = LCtx->getStackFrame();
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp 157 const StackFrameContext *VarRegion::getStackFrame() const {
741 MemRegionManager::getStackLocalsRegion(const StackFrameContext *STC) {
754 MemRegionManager::getStackArgumentsRegion(const StackFrameContext *STC) {
818 static llvm::PointerUnion<const StackFrameContext *, const VarRegion *>
823 if (const auto *SFC = dyn_cast<StackFrameContext>(LC)) {
823 if (const auto *SFC = dyn_cast<StackFrameContext>(LC)) {
878 llvm::PointerUnion<const StackFrameContext *, const VarRegion *> V =
884 const auto *STC = V.get<const StackFrameContext *>();
884 const auto *STC = V.get<const StackFrameContext *>();
952 const StackFrameContext *STC = LC->getStackFrame();
980 const StackFrameContext *STC = LC->getStackFrame();
1046 const StackFrameContext *SFC = LC->getStackFrame();
1115 const StackFrameContext *STC = LC->getStackFrame();
1123 const StackFrameContext *STC = LC->getStackFrame();
tools/clang/lib/StaticAnalyzer/Core/ProgramState.cpp 96 const StackFrameContext *LCtx,
239 const StackFrameContext *CalleeCtx) const {
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 621 StoreRef removeDeadBindings(Store store, const StackFrameContext *LCtx,
2507 const StackFrameContext *CurrentLCtx;
2513 const StackFrameContext *LCtx)
2564 const StackFrameContext *RegCtx = StackReg->getStackFrame();
2642 const StackFrameContext *LCtx,
tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp 272 const StackFrameContext *SFC) {
279 const StackFrameContext *SFC) {
tools/clang/lib/StaticAnalyzer/Core/Store.cpp 48 const StackFrameContext *LCtx) {
tools/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp 531 const StackFrameContext *VarContext = VR->getStackFrame();
538 const StackFrameContext *CurrentContext = LCtx->getStackFrame();
tools/clang/lib/StaticAnalyzer/Core/WorkList.cpp 140 using LocIdentifier = std::pair<BlockID, const StackFrameContext *>;
195 using LocIdentifier = std::pair<BlockID, const StackFrameContext *>;
tools/clang/unittests/StaticAnalyzer/CallDescriptionTest.cpp 60 const StackFrameContext *SFC =
tools/clang/unittests/StaticAnalyzer/StoreTest.cpp 34 const StackFrameContext *SFC =
tools/clang/unittests/StaticAnalyzer/SymbolReaperTest.cpp 26 const StackFrameContext *SFC =