Home
last modified time | relevance | path

Searched refs:PathDiagnosticPiece (Results 1 – 11 of 11) sorted by relevance

/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporterVisitor.h29 class PathDiagnosticPiece; variable
58 virtual PathDiagnosticPiece *VisitNode(const ExplodedNode *Succ,
69 virtual std::unique_ptr<PathDiagnosticPiece>
75 static std::unique_ptr<PathDiagnosticPiece>
121 PathDiagnosticPiece *VisitNode(const ExplodedNode *N,
151 PathDiagnosticPiece *VisitNode(const ExplodedNode *N,
173 PathDiagnosticPiece *VisitNode(const ExplodedNode *N,
195 PathDiagnosticPiece *VisitNode(const ExplodedNode *N,
200 PathDiagnosticPiece *VisitNodeImpl(const ExplodedNode *N,
205 PathDiagnosticPiece *VisitTerminator(const Stmt *Term,
[all …]
DPathDiagnostic.h337 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> > {
436 class PathDiagnosticSpotPiece : public PathDiagnosticPiece {
442 PathDiagnosticPiece::Kind k,
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp50 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()
70 PathDiagnosticPiece *Piece = I->get(); in flattenTo()
73 case PathDiagnosticPiece::Call: { in flattenTo()
86 case PathDiagnosticPiece::Macro: { in flattenTo()
99 case PathDiagnosticPiece::Event: in flattenTo()
100 case PathDiagnosticPiece::ControlFlow: in flattenTo()
160 PathDiagnosticPiece *LastP = path.back().get(); in resetDiagnosticLocationToMainFile()
224 const PathDiagnosticPiece *piece = I->get(); in HandlePathDiagnostic()
[all …]
DPlistDiagnostics.cpp137 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()
DBugReporterVisitors.cpp103 std::unique_ptr<PathDiagnosticPiece>
109 std::unique_ptr<PathDiagnosticPiece> BugReporterVisitor::getDefaultEndPath( in getDefaultEndPath()
230 PathDiagnosticPiece *visitNodeInitial(const ExplodedNode *N, in visitNodeInitial()
329 PathDiagnosticPiece *visitNodeMaybeUnsuppress(const ExplodedNode *N, in visitNodeMaybeUnsuppress()
382 PathDiagnosticPiece *VisitNode(const ExplodedNode *N, in VisitNode()
398 std::unique_ptr<PathDiagnosticPiece> getEndPath(BugReporterContext &BRC, in getEndPath()
446 PathDiagnosticPiece *FindLastStoreBRVisitor::VisitNode(const ExplodedNode *Succ, in VisitNode()
726 PathDiagnosticPiece *
806 PathDiagnosticPiece *
1065 PathDiagnosticPiece *NilReceiverBRVisitor::VisitNode(const ExplodedNode *N, in VisitNode()
[all …]
DHTMLDiagnostics.cpp62 const PathDiagnosticPiece& P, unsigned num, unsigned max);
330 const PathDiagnosticPiece& P, in HandlePiece()
371 case PathDiagnosticPiece::Call: in HandlePiece()
373 case PathDiagnosticPiece::Event: Kind = "Event"; break; in HandlePiece()
374 case PathDiagnosticPiece::ControlFlow: Kind = "Control"; break; in HandlePiece()
376 case PathDiagnosticPiece::Macro: Kind = "Control"; break; in HandlePiece()
DBugReporter.cpp111 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/clang/lib/StaticAnalyzer/Checkers/
DTestAfterDivZeroChecker.cpp73 PathDiagnosticPiece *VisitNode(const ExplodedNode *Succ,
97 PathDiagnosticPiece *DivisionBRVisitor::VisitNode(const ExplodedNode *Succ, in REGISTER_SET_WITH_PROGRAMSTATE()
DMacOSKeychainAPIChecker.cpp148 PathDiagnosticPiece *VisitNode(const ExplodedNode *N,
602 PathDiagnosticPiece *MacOSKeychainAPIChecker::SecKeychainBugVisitor::VisitNode( in VisitNode()
DRetainCountChecker.cpp1740 PathDiagnosticPiece *VisitNode(const ExplodedNode *N,
1745 std::unique_ptr<PathDiagnosticPiece> getEndPath(BugReporterContext &BRC,
1756 std::unique_ptr<PathDiagnosticPiece> getEndPath(BugReporterContext &BRC,
1866 PathDiagnosticPiece *CFRefReportVisitor::VisitNode(const ExplodedNode *N, in VisitNode()
2158 PathDiagnosticPiece *P = new PathDiagnosticEventPiece(Pos, os.str()); in VisitNode()
2273 std::unique_ptr<PathDiagnosticPiece>
2280 std::unique_ptr<PathDiagnosticPiece>
DMallocChecker.cpp462 PathDiagnosticPiece *VisitNode(const ExplodedNode *N,
467 std::unique_ptr<PathDiagnosticPiece>
2585 PathDiagnosticPiece *