/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | BugReporterVisitor.h | 30 class PathDiagnosticPiece; variable 62 virtual PathDiagnosticPiece *VisitNode(const ExplodedNode *Succ, 73 virtual std::unique_ptr<PathDiagnosticPiece> 79 static std::unique_ptr<PathDiagnosticPiece> 124 PathDiagnosticPiece *VisitNode(const ExplodedNode *N, 153 PathDiagnosticPiece *VisitNode(const ExplodedNode *N, 175 PathDiagnosticPiece *VisitNode(const ExplodedNode *N, 198 PathDiagnosticPiece *VisitNode(const ExplodedNode *N, 203 PathDiagnosticPiece *VisitNodeImpl(const ExplodedNode *N, 208 PathDiagnosticPiece *VisitTerminator(const Stmt *Term, [all …]
|
D | PathDiagnostic.h | 337 class PathDiagnosticPiece : public RefCountedBaseVPTR { 359 PathDiagnosticPiece() = delete; 360 PathDiagnosticPiece(const PathDiagnosticPiece &P) = delete; 361 void operator=(const PathDiagnosticPiece &P) = delete; 364 PathDiagnosticPiece(StringRef s, Kind k, DisplayHint hint = Below); 366 PathDiagnosticPiece(Kind k, DisplayHint hint = Below); 369 ~PathDiagnosticPiece() override; 421 class PathPieces : public std::list<IntrusiveRefCntPtr<PathDiagnosticPiece> > { 435 class PathDiagnosticSpotPiece : public PathDiagnosticPiece { 441 PathDiagnosticPiece::Kind k, [all …]
|
/external/llvm-project/clang/include/clang/Analysis/ |
D | PathDiagnostic.h | 406 class PathDiagnosticPiece: public llvm::FoldingSetNode { 430 PathDiagnosticPiece(StringRef s, Kind k, DisplayHint hint = Below); 431 PathDiagnosticPiece(Kind k, DisplayHint hint = Below); 434 PathDiagnosticPiece() = delete; 435 PathDiagnosticPiece(const PathDiagnosticPiece &) = delete; 436 PathDiagnosticPiece &operator=(const PathDiagnosticPiece &) = delete; 437 virtual ~PathDiagnosticPiece(); 495 using PathDiagnosticPieceRef = std::shared_ptr<PathDiagnosticPiece>; 511 class PathDiagnosticSpotPiece : public PathDiagnosticPiece { 518 PathDiagnosticPiece::Kind k, [all …]
|
/external/llvm-project/clang/lib/Analysis/ |
D | PathDiagnostic.cpp | 61 PathDiagnosticPiece::PathDiagnosticPiece(StringRef s, in PathDiagnosticPiece() function in PathDiagnosticPiece 65 PathDiagnosticPiece::PathDiagnosticPiece(Kind k, DisplayHint hint) in PathDiagnosticPiece() function in PathDiagnosticPiece 68 PathDiagnosticPiece::~PathDiagnosticPiece() = default; 86 case PathDiagnosticPiece::Call: { in flattenTo() 95 case PathDiagnosticPiece::Macro: { in flattenTo() 108 case PathDiagnosticPiece::Event: in flattenTo() 109 case PathDiagnosticPiece::ControlFlow: in flattenTo() 110 case PathDiagnosticPiece::Note: in flattenTo() 111 case PathDiagnosticPiece::PopUp: in flattenTo() 170 const PathDiagnosticPiece *piece = I.get(); in HandlePathDiagnostic() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | PathDiagnostic.cpp | 50 PathDiagnosticPiece::PathDiagnosticPiece(StringRef s, in PathDiagnosticPiece() function in PathDiagnosticPiece 55 PathDiagnosticPiece::PathDiagnosticPiece(Kind k, DisplayHint hint) in PathDiagnosticPiece() function in PathDiagnosticPiece 58 PathDiagnosticPiece::~PathDiagnosticPiece() {} in ~PathDiagnosticPiece() 67 PathDiagnosticPiece *Piece = I->get(); in flattenTo() 70 case PathDiagnosticPiece::Call: { in flattenTo() 83 case PathDiagnosticPiece::Macro: { in flattenTo() 96 case PathDiagnosticPiece::Event: in flattenTo() 97 case PathDiagnosticPiece::ControlFlow: in flattenTo() 156 PathDiagnosticPiece *LastP = path.back().get(); in resetDiagnosticLocationToMainFile() 220 const PathDiagnosticPiece *piece = I->get(); in HandlePathDiagnostic() [all …]
|
D | PlistDiagnostics.cpp | 137 static void ReportEvent(raw_ostream &o, const PathDiagnosticPiece& P, in ReportEvent() 197 const PathDiagnosticPiece &P, 253 static void ReportDiag(raw_ostream &o, const PathDiagnosticPiece& P, in ReportDiag() 260 const PathDiagnosticPiece &P, in ReportPiece() 268 case PathDiagnosticPiece::ControlFlow: in ReportPiece() 273 case PathDiagnosticPiece::Call: in ReportPiece() 277 case PathDiagnosticPiece::Event: in ReportPiece() 281 case PathDiagnosticPiece::Macro: in ReportPiece() 314 const PathDiagnosticPiece *piece = I->get(); in FlushDiagnosticsImpl()
|
D | BugReporterVisitors.cpp | 104 std::unique_ptr<PathDiagnosticPiece> 110 std::unique_ptr<PathDiagnosticPiece> BugReporterVisitor::getDefaultEndPath( in getDefaultEndPath() 231 PathDiagnosticPiece *visitNodeInitial(const ExplodedNode *N, in visitNodeInitial() 333 PathDiagnosticPiece *visitNodeMaybeUnsuppress(const ExplodedNode *N, in visitNodeMaybeUnsuppress() 386 PathDiagnosticPiece *VisitNode(const ExplodedNode *N, in VisitNode() 402 std::unique_ptr<PathDiagnosticPiece> getEndPath(BugReporterContext &BRC, in getEndPath() 450 PathDiagnosticPiece *FindLastStoreBRVisitor::VisitNode(const ExplodedNode *Succ, in VisitNode() 730 PathDiagnosticPiece * 810 PathDiagnosticPiece * 1123 PathDiagnosticPiece *NilReceiverBRVisitor::VisitNode(const ExplodedNode *N, in VisitNode() [all …]
|
D | HTMLDiagnostics.cpp | 64 const PathDiagnosticPiece& P, unsigned num, unsigned max); 348 const PathDiagnosticPiece& P, in HandlePiece() 389 case PathDiagnosticPiece::Call: in HandlePiece() 391 case PathDiagnosticPiece::Event: Kind = "Event"; break; in HandlePiece() 392 case PathDiagnosticPiece::ControlFlow: Kind = "Control"; break; in HandlePiece() 394 case PathDiagnosticPiece::Macro: Kind = "Control"; break; in HandlePiece()
|
D | BugReporter.cpp | 111 IntrusiveRefCntPtr<PathDiagnosticPiece> piece(path.front()); in removeRedundantMsgs() 115 case clang::ento::PathDiagnosticPiece::Call: in removeRedundantMsgs() 118 case clang::ento::PathDiagnosticPiece::Macro: in removeRedundantMsgs() 121 case clang::ento::PathDiagnosticPiece::ControlFlow: in removeRedundantMsgs() 123 case clang::ento::PathDiagnosticPiece::Event: { in removeRedundantMsgs() 164 IntrusiveRefCntPtr<PathDiagnosticPiece> piece(pieces.front()); in removeUnneededCalls() 168 case PathDiagnosticPiece::Call: { in removeUnneededCalls() 183 case PathDiagnosticPiece::Macro: { in removeUnneededCalls() 190 case PathDiagnosticPiece::Event: { in removeUnneededCalls() 198 case PathDiagnosticPiece::ControlFlow: in removeUnneededCalls() [all …]
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | SarifDiagnostics.cpp | 237 static Importance calculateImportance(const PathDiagnosticPiece &Piece) { in calculateImportance() 239 case PathDiagnosticPiece::Call: in calculateImportance() 240 case PathDiagnosticPiece::Macro: in calculateImportance() 241 case PathDiagnosticPiece::Note: in calculateImportance() 242 case PathDiagnosticPiece::PopUp: in calculateImportance() 245 case PathDiagnosticPiece::Event: in calculateImportance() 248 case PathDiagnosticPiece::ControlFlow: in calculateImportance()
|
D | PlistDiagnostics.cpp | 92 void ReportDiag(raw_ostream &o, const PathDiagnosticPiece& P) { in ReportDiag() 105 void ReportPiece(raw_ostream &o, const PathDiagnosticPiece &P, in ReportPiece() 109 case PathDiagnosticPiece::ControlFlow: in ReportPiece() 113 case PathDiagnosticPiece::Call: in ReportPiece() 117 case PathDiagnosticPiece::Event: in ReportPiece() 121 case PathDiagnosticPiece::Macro: in ReportPiece() 125 case PathDiagnosticPiece::Note: in ReportPiece() 128 case PathDiagnosticPiece::PopUp: in ReportPiece() 567 return E->getKind() == PathDiagnosticPiece::Note; in printBugPath() 573 return E->getKind() == PathDiagnosticPiece::Note; in printBugPath() [all …]
|
D | HTMLDiagnostics.cpp | 91 void HandlePiece(Rewriter &R, FileID BugFileID, const PathDiagnosticPiece &P, 773 const PathDiagnosticPiece &P, in HandlePiece() 816 case PathDiagnosticPiece::Event: Kind = "Event"; break; in HandlePiece() 817 case PathDiagnosticPiece::ControlFlow: Kind = "Control"; break; in HandlePiece() 819 case PathDiagnosticPiece::Macro: Kind = "Control"; break; in HandlePiece() 820 case PathDiagnosticPiece::Note: in HandlePiece() 825 case PathDiagnosticPiece::Call: in HandlePiece() 826 case PathDiagnosticPiece::PopUp: in HandlePiece()
|
D | BugReporter.cpp | 384 case PathDiagnosticPiece::Call: in removeRedundantMsgs() 387 case PathDiagnosticPiece::Macro: in removeRedundantMsgs() 390 case PathDiagnosticPiece::Event: { in removeRedundantMsgs() 409 case PathDiagnosticPiece::ControlFlow: in removeRedundantMsgs() 410 case PathDiagnosticPiece::Note: in removeRedundantMsgs() 411 case PathDiagnosticPiece::PopUp: in removeRedundantMsgs() 435 case PathDiagnosticPiece::Call: { in removeUnneededCalls() 446 case PathDiagnosticPiece::Macro: { in removeUnneededCalls() 453 case PathDiagnosticPiece::Event: { in removeUnneededCalls() 461 case PathDiagnosticPiece::ControlFlow: in removeUnneededCalls() [all …]
|
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | BugReporterVisitors.h | 40 class PathDiagnosticPiece; variable 41 using PathDiagnosticPieceRef = std::shared_ptr<PathDiagnosticPiece>; 291 static bool isPieceMessageGeneric(const PathDiagnosticPiece *Piece);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DynamicTypeChecker.cpp | 52 PathDiagnosticPiece *VisitNode(const ExplodedNode *N, 94 PathDiagnosticPiece *DynamicTypeChecker::DynamicTypeBugVisitor::VisitNode( in VisitNode()
|
D | ObjCSuperDeallocChecker.cpp | 76 PathDiagnosticPiece *VisitNode(const ExplodedNode *Succ, 252 PathDiagnosticPiece *SuperDeallocBRVisitor::VisitNode(const ExplodedNode *Succ, in VisitNode()
|
D | TestAfterDivZeroChecker.cpp | 73 PathDiagnosticPiece *VisitNode(const ExplodedNode *Succ, 97 PathDiagnosticPiece *DivisionBRVisitor::VisitNode(const ExplodedNode *Succ, in REGISTER_SET_WITH_PROGRAMSTATE()
|
D | MacOSKeychainAPIChecker.cpp | 146 PathDiagnosticPiece *VisitNode(const ExplodedNode *N, 592 PathDiagnosticPiece *MacOSKeychainAPIChecker::SecKeychainBugVisitor::VisitNode( in VisitNode()
|
D | DynamicTypePropagation.cpp | 86 PathDiagnosticPiece *VisitNode(const ExplodedNode *N, 895 PathDiagnosticPiece *DynamicTypePropagation::GenericsBugVisitor::VisitNode( in VisitNode()
|
D | RetainCountChecker.cpp | 1764 PathDiagnosticPiece *VisitNode(const ExplodedNode *N, 1769 std::unique_ptr<PathDiagnosticPiece> getEndPath(BugReporterContext &BRC, 1780 std::unique_ptr<PathDiagnosticPiece> getEndPath(BugReporterContext &BRC, 1890 PathDiagnosticPiece *CFRefReportVisitor::VisitNode(const ExplodedNode *N, in VisitNode() 2182 PathDiagnosticPiece *P = new PathDiagnosticEventPiece(Pos, os.str()); in VisitNode() 2298 std::unique_ptr<PathDiagnosticPiece> 2305 std::unique_ptr<PathDiagnosticPiece>
|
D | NullabilityChecker.cpp | 156 PathDiagnosticPiece *VisitNode(const ExplodedNode *N, 309 PathDiagnosticPiece *NullabilityChecker::NullabilityBugVisitor::VisitNode( in VisitNode()
|
D | LocalizationChecker.cpp | 127 PathDiagnosticPiece *VisitNode(const ExplodedNode *Succ, 898 PathDiagnosticPiece *
|
D | MallocChecker.cpp | 464 PathDiagnosticPiece *VisitNode(const ExplodedNode *N, 469 std::unique_ptr<PathDiagnosticPiece> 2617 PathDiagnosticPiece *
|
/external/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
D | MPIBugReporter.h | 95 PathDiagnosticPiece *VisitNode(const ExplodedNode *N,
|
D | MPIBugReporter.cpp | 88 PathDiagnosticPiece *MPIBugReporter::RequestNodeVisitor::VisitNode( in VisitNode()
|