| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | HTMLDiagnostics.cpp | 108 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 D | BugReporter.cpp | 678 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 D | Store.cpp | 531 bool StoreManager::FindUniqueBinding::HandleBinding(StoreManager& SMgr, in HandleBinding() argument
|
| H A D | BugReporterVisitors.cpp | 829 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 D | Store.h | 268 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 D | RetainCountDiagnostics.cpp | 624 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 D | PathDiagnostic.cpp | 148 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 D | DeadStoresChecker.cpp | 172 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 D | NoOwnershipChangeVisitor.cpp | 32 bool HandleBinding(StoreManager &SMgr, Store Store, const MemRegion *Region, in HandleBinding() argument
|
| H A D | StackAddrEscapeChecker.cpp | 546 bool HandleBinding(StoreManager &SMgr, Store S, const MemRegion *Region, in checkEndFunction() argument
|