Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp112 const SourceManager &SMgr, const PathPieces &path,
117 const SourceManager &SMgr, const PathPieces &path,
253 SourceManager &SMgr = PP.getSourceManager(); in getIssueHash() local
255 FullSourceLoc L(SMgr.getExpansionLoc(UPDLoc.isValid() in getIssueHash()
258 SMgr); in getIssueHash()
284 const SourceManager &SMgr = path.front()->getLocation().getManager(); in ReportDiag() local
287 Rewriter R(const_cast<SourceManager&>(SMgr), PP.getLangOpts()); in ReportDiag()
300 SMgr.getExpansionLoc(path.back()->getLocation().asLocation()), in ReportDiag()
301 SMgr); in ReportDiag()
302 FullSourceLoc FunL(SMgr.getExpansionLoc(Body->getBeginLoc()), SMgr); in ReportDiag()
[all …]
H A DBugReporter.cpp657 const SourceManager &SMgr = LC->getDecl()->getASTContext().getSourceManager(); in getEnclosingStmtLocation() local
664 return PathDiagnosticLocation(allowNestedContexts ? B : S, SMgr, LC); in getEnclosingStmtLocation()
669 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
674 return PathDiagnosticLocation(Parent, SMgr, LC); in getEnclosingStmtLocation()
676 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
683 return PathDiagnosticLocation(Parent, SMgr, LC); in getEnclosingStmtLocation()
685 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
688 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
691 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
694 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
[all …]
H A DStore.cpp533 bool StoreManager::FindUniqueBinding::HandleBinding(StoreManager& SMgr, in HandleBinding() argument
H A DBugReporterVisitors.cpp922 const SourceManager &SMgr = BRC.getSourceManager(); in VisitNode() local
924 if (isFunctionMacroExpansion(*Loc, SMgr)) { in VisitNode()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h254 virtual bool HandleBinding(StoreManager& SMgr, Store store,
268 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
854 const SourceManager &SMgr = Ctx.getSourceManager(); in deriveParamLocation() local
864 PathDiagnosticLocation::create(PDecl, SMgr); in deriveParamLocation()
883 const SourceManager &SMgr = Ctx.getSourceManager(); in deriveAllocLocation() local
904 AllocStmt, SMgr, AllocNode->getLocationContext()); in deriveAllocLocation()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DPathDiagnostic.cpp153 const SourceManager &SMgr = D->path.front()->getLocation().getManager(); in HandlePathDiagnostic() local
171 FID = SMgr.getFileID(L); in HandlePathDiagnostic()
172 } else if (SMgr.getFileID(L) != FID) { in HandlePathDiagnostic()
180 SourceLocation L = SMgr.getExpansionLoc(I.getBegin()); in HandlePathDiagnostic()
181 if (!L.isFileID() || SMgr.getFileID(L) != FID) { in HandlePathDiagnostic()
185 L = SMgr.getExpansionLoc(I.getEnd()); in HandlePathDiagnostic()
186 if (!L.isFileID() || SMgr.getFileID(L) != FID) { in HandlePathDiagnostic()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNoOwnershipChangeVisitor.cpp32 bool HandleBinding(StoreManager &SMgr, Store Store, const MemRegion *Region, in HandleBinding() argument