| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | HTMLDiagnostics.cpp | 250 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 D | SarifDiagnostics.cpp | 200 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 D | BugReporter.cpp | 659 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 D | Store.cpp | 523 bool StoreManager::FindUniqueBinding::HandleBinding(StoreManager& SMgr, in HandleBinding() argument
|
| H A D | BugReporterVisitors.cpp | 892 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 D | Store.h | 257 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 D | RetainCountDiagnostics.cpp | 623 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 D | DeadStoresChecker.cpp | 173 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 D | StackAddrEscapeChecker.cpp | 339 bool HandleBinding(StoreManager &SMgr, Store S, const MemRegion *Region, in checkEndFunction() argument
|
| H A D | MallocChecker.cpp | 763 bool HandleBinding(StoreManager &SMgr, Store Store, const MemRegion *Region, in HandleBinding() argument
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | PathDiagnostic.cpp | 156 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()
|