Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp250 SourceManager &SMgr = PP.getSourceManager(); in getIssueHash() local
252 FullSourceLoc L(SMgr.getExpansionLoc(UPDLoc.isValid() in getIssueHash()
255 SMgr); in getIssueHash()
298 SMgr); in ReportDiag()
299 FullSourceLoc FunL(SMgr.getExpansionLoc(Body->getBeginLoc()), SMgr); in ReportDiag()
432 const FileEntry* Entry = SMgr.getFileEntryForID(FID); in GenerateHTML()
559 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), in FinalizeHTML()
562 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), in FinalizeHTML()
566 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), in FinalizeHTML()
650 FullSourceLoc L(SMgr.getExpansionLoc(UPDLoc.isValid() in FinalizeHTML()
[all …]
H A DSarifDiagnostics.cpp200 const SourceManager &SMgr, in createPhysicalLocation() argument
204 {"region", createTextRegion(LO, R, SMgr)}}}; in createPhysicalLocation()
259 const SourceManager &SMgr = Pieces.front()->getLocation().getManager(); in createThreadFlow() local
267 SMgr, Artifacts), in createThreadFlow()
286 const SourceManager &SMgr = Path.front()->getLocation().getManager(); in createResult() local
298 SMgr, Artifacts))}}, in createResult()
H A DBugReporter.cpp659 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
666 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
675 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
678 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
681 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
684 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
688 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
692 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
696 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
707 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
[all …]
H A DStore.cpp523 bool StoreManager::FindUniqueBinding::HandleBinding(StoreManager& SMgr, in HandleBinding() argument
H A DBugReporterVisitors.cpp892 const SourceManager &SMgr = BRC.getSourceManager(); in VisitNode() local
894 if (isFunctionMacroExpansion(*Loc, SMgr)) { in VisitNode()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h257 virtual bool HandleBinding(StoreManager& SMgr, Store store,
271 bool HandleBinding(StoreManager& SMgr, Store store, const MemRegion* R,
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp623 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()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp173 SourceManager &SMgr = Ctx.getSourceManager(); in isSuppressed() local
178 FileID FID = SMgr.getFileID(Loc); in isSuppressed()
180 StringRef Data = SMgr.getBufferData(FID, &Invalid); in isSuppressed()
H A DStackAddrEscapeChecker.cpp339 bool HandleBinding(StoreManager &SMgr, Store S, const MemRegion *Region, in checkEndFunction() argument
H A DMallocChecker.cpp763 bool HandleBinding(StoreManager &SMgr, Store Store, const MemRegion *Region, in HandleBinding() argument
/llvm-project-15.0.7/clang/lib/Analysis/
H A DPathDiagnostic.cpp156 const SourceManager &SMgr = D->path.front()->getLocation().getManager(); in HandlePathDiagnostic() local
174 FID = SMgr.getFileID(L); in HandlePathDiagnostic()
175 } else if (SMgr.getFileID(L) != FID) { in HandlePathDiagnostic()
183 SourceLocation L = SMgr.getExpansionLoc(I.getBegin()); in HandlePathDiagnostic()
184 if (!L.isFileID() || SMgr.getFileID(L) != FID) { in HandlePathDiagnostic()
188 L = SMgr.getExpansionLoc(I.getEnd()); in HandlePathDiagnostic()
189 if (!L.isFileID() || SMgr.getFileID(L) != FID) { in HandlePathDiagnostic()