| /freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| H A D | BugReporterVisitors.h | 39 class PathSensitiveBugReport; variable 72 PathSensitiveBugReport &BR); 88 const PathSensitiveBugReport &BR); 170 PathSensitiveBugReport &Report; 176 Tracker(PathSensitiveBugReport &Report); 181 static TrackerRef create(PathSensitiveBugReport &Report) { in create() 185 PathSensitiveBugReport &getReport() { return Report; } in getReport() 467 PathSensitiveBugReport &R, 508 PathSensitiveBugReport &R, 537 PathSensitiveBugReport &BR) override; [all …]
|
| H A D | BugReporter.h | 291 class PathSensitiveBugReport : public BugReport { 371 PathSensitiveBugReport(const BugType &bt, StringRef desc, in PathSensitiveBugReport() function 373 : PathSensitiveBugReport(bt, desc, desc, errorNode) {} in PathSensitiveBugReport() 375 PathSensitiveBugReport(const BugType &bt, StringRef shortDesc, StringRef desc, in PathSensitiveBugReport() function 377 : PathSensitiveBugReport(bt, shortDesc, desc, errorNode, in PathSensitiveBugReport() 388 PathSensitiveBugReport(const BugType &bt, StringRef desc, in PathSensitiveBugReport() function 392 : PathSensitiveBugReport(bt, desc, desc, errorNode, LocationToUnique, in PathSensitiveBugReport() 395 PathSensitiveBugReport(const BugType &bt, StringRef shortDesc, StringRef desc, 697 ArrayRef<PathSensitiveBugReport *> &bugReports); 768 PathSensitiveBugReport &)>; [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
| H A D | MPIBugReporter.cpp | 33 auto Report = std::make_unique<PathSensitiveBugReport>( in reportDoubleNonblocking() 56 auto Report = std::make_unique<PathSensitiveBugReport>(*MissingWaitBugType, in reportMissingWait() 76 auto Report = std::make_unique<PathSensitiveBugReport>(*UnmatchedWaitBugType, in reportUnmatchedWait() 90 PathSensitiveBugReport &BR) { in VisitNode()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugReporter.cpp | 210 const PathSensitiveBugReport *R; 1970 const PathSensitiveBugReport *R) in PathDiagnosticConstruct() 2122 PathSensitiveBugReport::PathSensitiveBugReport( in PathSensitiveBugReport() function in PathSensitiveBugReport 2149 void PathSensitiveBugReport::addVisitor( in addVisitor() 2165 void PathSensitiveBugReport::clearVisitors() { in clearVisitors() 2394 PathSensitiveBugReport::getRanges() const { in getRanges() 2404 PathSensitiveBugReport::getLocation() const { in getLocation() 2493 PathSensitiveBugReport *Report; 2766 PathSensitiveBugReport::VisitorList visitors; in generateVisitorsDiagnostics() 2817 ArrayRef<PathSensitiveBugReport *> &bugReports, in findValidReport() [all …]
|
| H A D | BugReporterVisitors.cpp | 255 const PathSensitiveBugReport *B) { in isInterestingExpr() 434 maybeEmitNote(PathSensitiveBugReport &R, const CallEvent &Call, 568 PathSensitiveBugReport &R) { in VisitNode() 1131 PathSensitiveBugReport &BR) override { in finalizeVisitor() 2445 PathSensitiveBugReport &BR) { in VisitNode() 2490 PathSensitiveBugReport &BR) { in VisitNode() 2541 const CFGBlock *dstBlk, PathSensitiveBugReport &R, in VisitTerminator() 2599 PathSensitiveBugReport &R, in VisitTrueTest() 3026 PathSensitiveBugReport &BR) { in finalizeVisitor() 3113 PathSensitiveBugReport &BR) { in VisitNode() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerContext.h | 269 *getNoteTag(std::function<std::string(PathSensitiveBugReport &)> &&Cb, 273 PathSensitiveBugReport &BR) { return Cb(BR); }, 287 PathSensitiveBugReport &) { return Cb(); }, 300 PathSensitiveBugReport &) { return std::string(Note); }, 312 std::function<void(PathSensitiveBugReport &BR, llvm::raw_ostream &OS)> &&Cb, 315 [Cb](PathSensitiveBugReport &BR) -> std::string {
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NonNullParamChecker.cpp | 41 std::unique_ptr<PathSensitiveBugReport> 44 std::unique_ptr<PathSensitiveBugReport> 277 std::unique_ptr<PathSensitiveBugReport> 295 std::make_unique<PathSensitiveBugReport>(*BTAttrNonNull, SBuf, ErrorNode); in genReportNullAttrNonNull() 302 std::unique_ptr<PathSensitiveBugReport> 308 auto R = std::make_unique<PathSensitiveBugReport>( in genReportReferenceToNullPointer()
|
| H A D | DeleteWithNonVirtualDtorChecker.cpp | 50 PathSensitiveBugReport &BR) override; 97 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in checkPreStmt() 108 PathSensitiveBugReport &BR) { in VisitNode()
|
| H A D | MacOSKeychainAPIChecker.cpp | 116 std::unique_ptr<PathSensitiveBugReport> 122 void markInteresting(PathSensitiveBugReport *R, in markInteresting() 147 PathSensitiveBugReport &BR) override; 242 auto Report = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N); in generateDeallocatorMismatchReport() 287 std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N); in checkPreStmt() 341 auto Report = std::make_unique<PathSensitiveBugReport>( in checkPreStmt() 472 std::unique_ptr<PathSensitiveBugReport> 494 auto Report = std::make_unique<PathSensitiveBugReport>( in generateAllocatedDataNotReleasedReport() 623 PathSensitiveBugReport &BR) { in VisitNode()
|
| H A D | FuchsiaHandleChecker.cpp | 386 auto *PathBR = static_cast<PathSensitiveBugReport *>(&BR); in checkPostCall() 402 auto *PathBR = static_cast<PathSensitiveBugReport *>(&BR); in checkPostCall() 436 auto *PathBR = static_cast<PathSensitiveBugReport *>(&BR); in checkPostCall() 450 auto *PathBR = static_cast<PathSensitiveBugReport *>(&BR); in checkPostCall() 464 auto *PathBR = static_cast<PathSensitiveBugReport *>(&BR); in checkPostCall() 489 PathSensitiveBugReport &BR) -> std::string { in checkPostCall() 655 std::unique_ptr<PathSensitiveBugReport> R; in reportBug() 664 R = std::make_unique<PathSensitiveBugReport>( in reportBug() 670 R = std::make_unique<PathSensitiveBugReport>(Type, Msg, ErrorNode); in reportBug()
|
| H A D | ObjCAtSyncChecker.cpp | 49 auto report = std::make_unique<PathSensitiveBugReport>( in checkPreStmt() 73 auto report = std::make_unique<PathSensitiveBugReport>( in checkPreStmt()
|
| H A D | CXXSelfAssignmentChecker.cpp | 56 C.getNoteTag([MD](PathSensitiveBugReport &BR) -> std::string { in checkBeginFunction() 66 C.getNoteTag([MD](PathSensitiveBugReport &BR) -> std::string { in checkBeginFunction()
|
| H A D | CallAndMessageChecker.cpp | 142 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in emitBadCall() 225 auto R = std::make_unique<PathSensitiveBugReport>(*BT, Os.str(), N); in uninitRefOrPointer() 306 auto R = std::make_unique<PathSensitiveBugReport>(*BT, Os.str(), N); in PreVisitProcessArg() 353 auto R = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N); in PreVisitProcessArg() 439 std::make_unique<PathSensitiveBugReport>(*BT_call_few_args, os.str(), N)); in checkParameterCount() 504 auto R = std::make_unique<PathSensitiveBugReport>(*BT, Desc, N); in checkCXXDeallocation() 610 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in checkPreObjCMessage() 658 std::make_unique<PathSensitiveBugReport>(*BT_msg_ret, os.str(), N); in emitNilReceiverBug()
|
| H A D | DynamicTypeChecker.cpp | 52 PathSensitiveBugReport &BR) override; 83 auto R = std::make_unique<PathSensitiveBugReport>( in reportTypeError() 92 const ExplodedNode *N, BugReporterContext &BRC, PathSensitiveBugReport &) { in VisitNode() argument
|
| H A D | StreamChecker.cpp | 387 std::string operator()(PathSensitiveBugReport &BR) const { in operator ()() 402 return C.getNoteTag([this, StreamSym](PathSensitiveBugReport &BR) { in constructSetEofNoteTag() 876 auto R = std::make_unique<PathSensitiveBugReport>( in ensureStreamNonNull() 904 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureStreamOpened() 920 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureStreamOpened() 960 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureNoFilePositionIndeterminate() 970 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureNoFilePositionIndeterminate() 991 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureFseekWhenceCorrect() 1005 auto R = std::make_unique<PathSensitiveBugReport>( in reportFEofWarning() 1043 std::unique_ptr<PathSensitiveBugReport> R = in reportLeaks() [all …]
|
| H A D | SmartPtrModeling.cpp | 394 State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in evalCall() 411 ArgVal](PathSensitiveBugReport &BR, in evalCall() 615 State, C.getNoteTag([ThisRegion, TrackingExpr](PathSensitiveBugReport &BR, in handleReset() 650 C.addTransition(State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in handleRelease() 692 PathSensitiveBugReport &BR, in handleSwap() 753 C.addTransition(State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in handleAssignOp() 791 PathSensitiveBugReport &BR, llvm::raw_ostream &OS) { in updateMovedSmartPointers() 814 ThisRegion](PathSensitiveBugReport &BR, in updateMovedSmartPointers() 882 [ThisRegion](PathSensitiveBugReport &BR, in handleBoolConversion() 895 [ThisRegion](PathSensitiveBugReport &BR, llvm::raw_ostream &OS) { in handleBoolConversion()
|
| H A D | ValistChecker.cpp | 82 PathSensitiveBugReport &BR) override { in getEndPath() 93 PathSensitiveBugReport &BR) override; 258 auto R = std::make_unique<PathSensitiveBugReport>(*BT_uninitaccess, Msg, N); in reportUninitializedAccess() 299 auto R = std::make_unique<PathSensitiveBugReport>( in reportLeakedVALists() 379 const ExplodedNode *N, BugReporterContext &BRC, PathSensitiveBugReport &) { in VisitNode() argument
|
| H A D | ObjCSuperDeallocChecker.cpp | 74 PathSensitiveBugReport &BR) override; 191 auto BR = std::make_unique<PathSensitiveBugReport>(*DoubleSuperDeallocBugType, in reportUseAfterDealloc() 249 PathSensitiveBugReport &) { in VisitNode() argument
|
| H A D | DebugContainerModeling.cpp | 101 [Cont, Field](PathSensitiveBugReport &BR) -> std::string { in analyzerContainerDataField() 139 BR.emitReport(std::make_unique<PathSensitiveBugReport>(*DebugMsgBugType, in reportDebugMsg()
|
| H A D | StackAddrEscapeChecker.cpp | 168 std::make_unique<PathSensitiveBugReport>(*BT_returnstack, os.str(), N); in EmitStackError() 206 auto Report = std::make_unique<PathSensitiveBugReport>( in checkAsyncExecutedBlockCaptures() 230 auto Report = std::make_unique<PathSensitiveBugReport>(*BT_capturedstackret, in checkReturnedBlockCaptures() 361 std::make_unique<PathSensitiveBugReport>(*BT_stackleak, Out.str(), N); in checkEndFunction()
|
| H A D | TestAfterDivZeroChecker.cpp | 74 PathSensitiveBugReport &BR) override; 97 PathSensitiveBugReport &BR) { in REGISTER_SET_WITH_PROGRAMSTATE() 170 auto R = std::make_unique<PathSensitiveBugReport>( in reportBug()
|
| H A D | MIGChecker.cpp | 214 C.getNoteTag([this, PVD](PathSensitiveBugReport &BR) -> std::string { in checkPostCall() 279 auto R = std::make_unique<PathSensitiveBugReport>( in checkReturnAux()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountDiagnostics.h | 49 class RefCountReport : public PathSensitiveBugReport { 65 return PathSensitiveBugReport::getRanges(); in getRanges() 95 return PathSensitiveBugReport::getLocation(); in getEndOfPath()
|
| H A D | RetainCountDiagnostics.cpp | 333 PathSensitiveBugReport &BR) override; 337 PathSensitiveBugReport &BR) override; 347 PathSensitiveBugReport &BR) override; 460 PathSensitiveBugReport &BR) { in VisitNode() 759 PathSensitiveBugReport &BR) { in getEndPath() 767 PathSensitiveBugReport &BR) { in getEndPath() 846 : PathSensitiveBugReport(D, D.getDescription(), n), Sym(sym), in RefCountReport() 855 : PathSensitiveBugReport(D, D.getDescription(), endText, n) { in RefCountReport()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/plugins/SampleAnalyzer/ |
| H A D | MainCallChecker.cpp | 40 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
|