Home
last modified time | relevance | path

Searched refs:SMgr (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp108 const SourceManager &SMgr, const PathPieces &path,
113 const SourceManager &SMgr, const PathPieces &path,
251 SourceManager &SMgr = PP.getSourceManager(); in getIssueHash() local
253 FullSourceLoc L(SMgr.getExpansionLoc(UPDLoc.isValid() in getIssueHash()
256 SMgr); in getIssueHash()
282 const SourceManager &SMgr = path.front()->getLocation().getManager(); in ReportDiag() local
285 Rewriter R(const_cast<SourceManager&>(SMgr), PP.getLangOpts()); in ReportDiag()
298 SMgr.getExpansionLoc(path.back()->getLocation().asLocation()), in ReportDiag()
299 SMgr); in ReportDiag()
300 FullSourceLoc FunL(SMgr.getExpansionLoc(Body->getBeginLoc()), SMgr); in ReportDiag()
[all …]
H A DBugReporter.cpp678 const SourceManager &SMgr = LC->getDecl()->getASTContext().getSourceManager(); in getEnclosingStmtLocation() local
685 return PathDiagnosticLocation(allowNestedContexts ? B : S, SMgr, LC); in getEnclosingStmtLocation()
690 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
695 return PathDiagnosticLocation(Parent, SMgr, LC); in getEnclosingStmtLocation()
697 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
704 return PathDiagnosticLocation(Parent, SMgr, LC); in getEnclosingStmtLocation()
706 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
709 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
712 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
715 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
[all …]
H A DStore.cpp531 bool StoreManager::FindUniqueBinding::HandleBinding(StoreManager& SMgr, in HandleBinding() argument
H A DBugReporterVisitors.cpp829 const SourceManager &SMgr = BRC.getSourceManager(); in VisitNode() local
831 if (isFunctionMacroExpansion(*Loc, SMgr)) { in VisitNode()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h268 virtual bool HandleBinding(StoreManager& SMgr, Store store,
282 bool HandleBinding(StoreManager& SMgr, Store store, const MemRegion* R,
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp624 bool HandleBinding(StoreManager &SMgr, Store Store, const MemRegion *R, in HandleBinding() argument
855 const SourceManager &SMgr = Ctx.getSourceManager(); in deriveParamLocation() local
865 PathDiagnosticLocation::create(PDecl, SMgr); in deriveParamLocation()
884 const SourceManager &SMgr = Ctx.getSourceManager(); in deriveAllocLocation() local
905 AllocStmt, SMgr, AllocNode->getLocationContext()); in deriveAllocLocation()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DPathDiagnostic.cpp148 const SourceManager &SMgr = D->path.front()->getLocation().getManager(); in HandlePathDiagnostic() local
166 FID = SMgr.getFileID(L); in HandlePathDiagnostic()
167 } else if (SMgr.getFileID(L) != FID) { in HandlePathDiagnostic()
175 SourceLocation L = SMgr.getExpansionLoc(I.getBegin()); in HandlePathDiagnostic()
176 if (!L.isFileID() || SMgr.getFileID(L) != FID) { in HandlePathDiagnostic()
180 L = SMgr.getExpansionLoc(I.getEnd()); in HandlePathDiagnostic()
181 if (!L.isFileID() || SMgr.getFileID(L) != FID) { in HandlePathDiagnostic()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp172 SourceManager &SMgr = Ctx.getSourceManager(); in isSuppressed() local
177 FileID FID = SMgr.getFileID(Loc); in isSuppressed()
179 StringRef Data = SMgr.getBufferData(FID, &Invalid); in isSuppressed()
H A DNoOwnershipChangeVisitor.cpp32 bool HandleBinding(StoreManager &SMgr, Store Store, const MemRegion *Region, in HandleBinding() argument
H A DStackAddrEscapeChecker.cpp546 bool HandleBinding(StoreManager &SMgr, Store S, const MemRegion *Region, in checkEndFunction() argument