/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
H A D | BugReporterVisitors.h | 36 class PathSensitiveBugReport; variable 63 PathSensitiveBugReport &BR) = 0; 69 PathSensitiveBugReport &BR); 78 PathSensitiveBugReport &BR); 85 const PathSensitiveBugReport &BR); 115 PathSensitiveBugReport &R, 161 PathSensitiveBugReport &BR) override; 187 PathSensitiveBugReport &BR) override; 205 PathSensitiveBugReport &BR) override; 232 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, 688 ArrayRef<PathSensitiveBugReport *> &bugReports); 730 PathSensitiveBugReport &)>; [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
H A D | BugReporter.cpp | 139 const PathSensitiveBugReport *R); 210 const PathSensitiveBugReport *R; 223 findValidReport(ArrayRef<PathSensitiveBugReport *> &bugReports, 228 PathSensitiveBugReport *r, const ExplodedNode *ErrorNode, 272 const PathSensitiveBugReport *getBugReport() const { return R; } in getBugReport() 423 const PathSensitiveBugReport *R, in removeUnneededCalls() 1325 generateEmptyDiagnosticForReport(const PathSensitiveBugReport *R, in generateEmptyDiagnosticForReport() 1970 const PathSensitiveBugReport *R) in PathDiagnosticConstruct() 1979 PathSensitiveBugReport *r, const ExplodedNode *ErrorNode, in PathDiagnosticBuilder() 2129 PathSensitiveBugReport::PathSensitiveBugReport( in PathSensitiveBugReport() function in PathSensitiveBugReport [all …]
|
H A D | BugReporterVisitors.cpp | 239 const PathSensitiveBugReport *B) { in isVarAnInterestingCondition() 254 const PathSensitiveBugReport *B) { in isInterestingExpr() 320 PathSensitiveBugReport &) { in getEndPath() argument 326 PathSensitiveBugReport &) {} in finalizeVisitor() argument 331 const PathSensitiveBugReport &BR) { in getDefaultEndPath() 399 PathSensitiveBugReport &R) override; 433 maybeEmitNote(PathSensitiveBugReport &R, const CallEvent &Call, 567 PathSensitiveBugReport &R) { in VisitNode() 679 PathSensitiveBugReport &R, const CallEvent &Call, const ExplodedNode *N, in maybeEmitNote() 826 PathSensitiveBugReport &BR) override { in VisitNode() [all …]
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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 | SmartPtrModeling.cpp | 230 State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in evalCall() 247 ArgVal](PathSensitiveBugReport &BR, in evalCall() 349 State, C.getNoteTag([ThisRegion, TrackingExpr](PathSensitiveBugReport &BR, in handleReset() 384 C.addTransition(State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in handleRelease() 424 State, C.getNoteTag([ThisRegion, ArgRegion](PathSensitiveBugReport &BR, in handleSwap() 485 C.addTransition(State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in handleAssignOp() 523 PathSensitiveBugReport &BR, llvm::raw_ostream &OS) { in updateMovedSmartPointers() 546 ThisRegion](PathSensitiveBugReport &BR, in updateMovedSmartPointers() 614 [ThisRegion](PathSensitiveBugReport &BR, in handleBoolConversion() 627 [ThisRegion](PathSensitiveBugReport &BR, llvm::raw_ostream &OS) { in handleBoolConversion()
|
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 | 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 | 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 | 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 | ObjCAtSyncChecker.cpp | 49 auto report = std::make_unique<PathSensitiveBugReport>( in checkPreStmt() 73 auto report = std::make_unique<PathSensitiveBugReport>( in checkPreStmt()
|
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 | 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 | StreamChecker.cpp | 370 std::string operator()(PathSensitiveBugReport &BR) const { in operator ()() 830 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureStreamNonNull() 855 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureStreamOpened() 871 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureStreamOpened() 911 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureNoFilePositionIndeterminate() 921 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureNoFilePositionIndeterminate() 942 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureFseekWhenceCorrect() 956 C.emitReport(std::make_unique<PathSensitiveBugReport>( in reportFEofWarning() 992 std::unique_ptr<PathSensitiveBugReport> R = in reportLeaks() 993 std::make_unique<PathSensitiveBugReport>( in reportLeaks()
|
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 | 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 | DebugContainerModeling.cpp | 101 [Cont, Field](PathSensitiveBugReport &BR) -> std::string { in analyzerContainerDataField() 139 BR.emitReport(std::make_unique<PathSensitiveBugReport>(*DebugMsgBugType, in reportDebugMsg()
|
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()
|
H A D | UnixAPIChecker.cpp | 139 auto Report = std::make_unique<PathSensitiveBugReport>(*BT_open, Msg, N); in ReportOpenBug() 309 std::make_unique<PathSensitiveBugReport>(*BT_pthreadOnce, os.str(), N); in CheckPthreadOnce() 353 std::make_unique<PathSensitiveBugReport>(*BT_mallocZero, os.str(), N); in ReportZeroByteAllocation()
|
/netbsd-src/external/apache2/llvm/dist/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 {
|
/netbsd-src/external/apache2/llvm/dist/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()
|