Home
last modified time | relevance | path

Searched refs:SFC (Results 1 – 13 of 13) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DTestAfterDivZeroChecker.cpp31 const StackFrameContext *SFC; member in __anon74a9d57a0111::ZeroState
34 ZeroState(SymbolRef S, unsigned B, const StackFrameContext *SFC) in ZeroState() argument
35 : ZeroSymbol(S), BlockID(B), SFC(SFC) {} in ZeroState()
37 const StackFrameContext *getStackFrameContext() const { return SFC; } in getStackFrameContext()
40 return BlockID == X.BlockID && SFC == X.SFC && ZeroSymbol == X.ZeroSymbol; in operator ==()
46 if (SFC != X.SFC) in operator <()
47 return SFC < X.SFC; in operator <()
53 ID.AddPointer(SFC); in Profile()
61 const StackFrameContext *SFC; member in __anon74a9d57a0111::DivisionBRVisitor
65 DivisionBRVisitor(SymbolRef ZeroSymbol, const StackFrameContext *SFC) in DivisionBRVisitor() argument
[all …]
DReturnUndefChecker.cpp46 const StackFrameContext *SFC = C.getStackFrame(); in checkPreStmt() local
47 QualType RT = CallEvent::getDeclaredResultType(SFC->getDecl()); in checkPreStmt()
64 if (RT.isNull() && isa<BlockDecl>(SFC->getDecl()) && in checkPreStmt()
DNSErrorChecker.cpp190 SFC = C.getLocationContext()->getCurrentStackFrame(); in parameterTypeFromSVal() local
196 if (stackReg->getStackFrame() == SFC) in parameterTypeFromSVal()
DRetainCountChecker.cpp1858 static bool isSynthesizedAccessor(const StackFrameContext *SFC) { in isSynthesizedAccessor() argument
1859 auto Method = dyn_cast_or_null<ObjCMethodDecl>(SFC->getDecl()); in isSynthesizedAccessor()
1863 return SFC->getAnalysisDeclContext()->isBodyAutosynthesized(); in isSynthesizedAccessor()
/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp216 const StackFrameContext *SFC) { in getCXXThis() argument
218 getCXXThisRegion(D->getThisType(getContext()), SFC)); in getCXXThis()
223 const StackFrameContext *SFC) { in getCXXThis() argument
226 return loc::MemRegionVal(getRegionManager().getCXXThisRegion(PT, SFC)); in getCXXThis()
DMemRegion.cpp742 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) { in getStackOrCaptureRegionForDeclContext() local
743 if (cast<DeclContext>(SFC->getDecl()) == DC) in getStackOrCaptureRegionForDeclContext()
744 return SFC; in getStackOrCaptureRegionForDeclContext()
961 const StackFrameContext *SFC = LC->getCurrentStackFrame(); in getCXXTempObjectRegion() local
962 assert(SFC); in getCXXTempObjectRegion()
963 return getSubRegion<CXXTempObjectRegion>(E, getStackLocalsRegion(SFC)); in getCXXTempObjectRegion()
DPathDiagnostic.cpp544 getLocationForCaller(const StackFrameContext *SFC, in getLocationForCaller() argument
547 const CFGBlock &Block = *SFC->getCallSiteBlock(); in getLocationForCaller()
548 CFGElement Source = Block[SFC->getIndex()]; in getLocationForCaller()
DExprEngine.cpp166 const StackFrameContext *SFC = InitLoc->getCurrentStackFrame(); in getInitialState() local
167 if (SFC->getParent() == nullptr) { in getInitialState()
168 loc::MemRegionVal L = svalBuilder.getCXXThis(MD, SFC); in getInitialState()
368 const StackFrameContext *SFC = LC ? LC->getCurrentStackFrame() : nullptr; in removeDead() local
369 SymbolReaper SymReaper(SFC, ReferenceStmt, SymMgr, getStoreManager()); in removeDead()
376 CleanedState = StateMgr.removeDeadBindings(CleanedState, SFC, SymReaper); in removeDead()
DExprEngineCallAndReturn.cpp362 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LCtx)) { in examineStackFrames() local
363 const Decl *DI = SFC->getDecl(); in examineStackFrames()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSValBuilder.h318 const StackFrameContext *SFC);
322 const StackFrameContext *SFC);
DMemRegion.h362 const StackFrameContext *SFC;
366 : MemSpaceRegion(mgr, k), SFC(sfc) { in StackSpaceRegion()
371 const StackFrameContext *getStackFrame() const { return SFC; } in getStackFrame()
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp407 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) in getCurrentStackFrame() local
408 return SFC; in getCurrentStackFrame()
/external/clang/lib/Index/
DCommentToXML.cpp536 SimpleFormatContext &SFC, in CommentASTToXMLConverter() argument
539 FormatRewriterContext(SFC), in CommentASTToXMLConverter()