Home
last modified time | relevance | path

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

/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporterVisitor.h29 class PathDiagnosticPiece; variable
58 virtual PathDiagnosticPiece *VisitNode(const ExplodedNode *N,
69 virtual PathDiagnosticPiece *getEndPath(BugReporterContext &BRC,
76 static PathDiagnosticPiece *getDefaultEndPath(BugReporterContext &BRC,
125 PathDiagnosticPiece *VisitNode(const ExplodedNode *N,
144 PathDiagnosticPiece *VisitNode(const ExplodedNode *N,
159 PathDiagnosticPiece *VisitNode(const ExplodedNode *N,
174 virtual PathDiagnosticPiece *VisitNode(const ExplodedNode *N,
179 PathDiagnosticPiece *VisitNodeImpl(const ExplodedNode *N,
184 PathDiagnosticPiece *VisitTerminator(const Stmt *Term,
[all …]
DPathDiagnostic.h314 class PathDiagnosticPiece : public RefCountedBaseVPTR {
326 PathDiagnosticPiece();
327 PathDiagnosticPiece(const PathDiagnosticPiece &P);
328 PathDiagnosticPiece& operator=(const PathDiagnosticPiece &P);
331 PathDiagnosticPiece(StringRef s, Kind k, DisplayHint hint = Below);
333 PathDiagnosticPiece(Kind k, DisplayHint hint = Below);
336 virtual ~PathDiagnosticPiece();
364 static inline bool classof(const PathDiagnosticPiece *P) { in classof()
372 class PathPieces : public std::deque<IntrusiveRefCntPtr<PathDiagnosticPiece> > {
385 class PathDiagnosticSpotPiece : public PathDiagnosticPiece {
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp47 PathDiagnosticPiece::PathDiagnosticPiece(StringRef s, in PathDiagnosticPiece() function in PathDiagnosticPiece
51 PathDiagnosticPiece::PathDiagnosticPiece(Kind k, DisplayHint hint) in PathDiagnosticPiece() function in PathDiagnosticPiece
54 PathDiagnosticPiece::~PathDiagnosticPiece() {} in ~PathDiagnosticPiece()
66 PathDiagnosticPiece *Piece = I->getPtr(); in flattenTo()
69 case PathDiagnosticPiece::Call: { in flattenTo()
82 case PathDiagnosticPiece::Macro: { in flattenTo()
95 case PathDiagnosticPiece::Event: in flattenTo()
96 case PathDiagnosticPiece::ControlFlow: in flattenTo()
152 const PathDiagnosticPiece *piece = I->getPtr(); in HandlePathDiagnostic()
250 static llvm::Optional<bool> comparePiece(const PathDiagnosticPiece &X, in comparePiece()
[all …]
DBugReporterVisitors.cpp95 PathDiagnosticPiece*
102 PathDiagnosticPiece*
114 PathDiagnosticPiece *P = new PathDiagnosticEventPiece(L, in getDefaultEndPath()
181 PathDiagnosticPiece *VisitNode(const ExplodedNode *N, in VisitNode()
258 PathDiagnosticPiece *FindLastStoreBRVisitor::VisitNode(const ExplodedNode *Succ, in VisitNode()
403 PathDiagnosticPiece *
547 PathDiagnosticPiece *NilReceiverBRVisitor::VisitNode(const ExplodedNode *N, in VisitNode()
618 PathDiagnosticPiece *ConditionBRVisitor::VisitNode(const ExplodedNode *N, in VisitNode()
622 PathDiagnosticPiece *piece = VisitNodeImpl(N, Prev, BRC, BR); in VisitNode()
629 PathDiagnosticPiece *ConditionBRVisitor::VisitNodeImpl(const ExplodedNode *N, in VisitNodeImpl()
[all …]
DPlistDiagnostics.cpp203 static void ReportEvent(raw_ostream &o, const PathDiagnosticPiece& P, in ReportEvent()
258 const PathDiagnosticPiece &P,
310 static void ReportDiag(raw_ostream &o, const PathDiagnosticPiece& P, in ReportDiag()
317 const PathDiagnosticPiece &P, in ReportPiece()
324 case PathDiagnosticPiece::ControlFlow: in ReportPiece()
329 case PathDiagnosticPiece::Call: in ReportPiece()
333 case PathDiagnosticPiece::Event: in ReportPiece()
337 case PathDiagnosticPiece::Macro: in ReportPiece()
371 const PathDiagnosticPiece *piece = I->getPtr(); in FlushDiagnosticsImpl()
DHTMLDiagnostics.cpp59 const PathDiagnosticPiece& P, unsigned num, unsigned max);
279 const PathDiagnosticPiece& P, in HandlePiece()
320 case PathDiagnosticPiece::Call: in HandlePiece()
322 case PathDiagnosticPiece::Event: Kind = "Event"; break; in HandlePiece()
323 case PathDiagnosticPiece::ControlFlow: Kind = "Control"; break; in HandlePiece()
325 case PathDiagnosticPiece::Macro: Kind = "Control"; break; in HandlePiece()
DBugReporter.cpp131 IntrusiveRefCntPtr<PathDiagnosticPiece> piece(pieces.front()); in RemoveUneededCalls()
135 case PathDiagnosticPiece::Call: { in RemoveUneededCalls()
150 case PathDiagnosticPiece::Macro: { in RemoveUneededCalls()
157 case PathDiagnosticPiece::Event: { in RemoveUneededCalls()
164 case PathDiagnosticPiece::ControlFlow: in RemoveUneededCalls()
394 static void updateStackPiecesWithMessage(PathDiagnosticPiece *P, in updateStackPiecesWithMessage()
735 if (PathDiagnosticPiece *p = (*I)->VisitNode(N, NextNode, PDB, *R)) { in GenerateMinimalPathDiagnostic()
1312 if (PathDiagnosticPiece *p = (*I)->VisitNode(N, NextNode, PDB, *R)) { in GenerateExtensivePathDiagnostic()
1762 typedef std::vector<IntrusiveRefCntPtr<PathDiagnosticPiece> > in CompactPathDiagnostic()
1771 PathDiagnosticPiece *piece = I->getPtr(); in CompactPathDiagnostic()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DMacOSKeychainAPIChecker.cpp150 PathDiagnosticPiece *VisitNode(const ExplodedNode *N,
660 PathDiagnosticPiece *MacOSKeychainAPIChecker::SecKeychainBugVisitor::VisitNode( in VisitNode()
DRetainCountChecker.cpp1755 virtual PathDiagnosticPiece *VisitNode(const ExplodedNode *N,
1760 virtual PathDiagnosticPiece *getEndPath(BugReporterContext &BRC,
1771 PathDiagnosticPiece *getEndPath(BugReporterContext &BRC,
1882 PathDiagnosticPiece *CFRefReportVisitor::VisitNode(const ExplodedNode *N, in VisitNode()
2160 PathDiagnosticPiece *P = new PathDiagnosticEventPiece(Pos, os.str()); in VisitNode()
2213 PathDiagnosticPiece*
2221 PathDiagnosticPiece*
DMallocChecker.cpp287 PathDiagnosticPiece *VisitNode(const ExplodedNode *N,
292 PathDiagnosticPiece* getEndPath(BugReporterContext &BRC, in getEndPath()
1502 PathDiagnosticPiece *