Home
last modified time | relevance | path

Searched refs:PathDiagnosticCallPiece (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp60 PathDiagnosticCallPiece::~PathDiagnosticCallPiece() {} in ~PathDiagnosticCallPiece()
71 PathDiagnosticCallPiece *Call = cast<PathDiagnosticCallPiece>(Piece); in flattenTo()
121 static PathDiagnosticCallPiece *
122 getFirstStackedCallToHeaderFile(PathDiagnosticCallPiece *CP, in getFirstStackedCallToHeaderFile()
143 if (PathDiagnosticCallPiece *CPInner = in getFirstStackedCallToHeaderFile()
144 dyn_cast<PathDiagnosticCallPiece>(Path.back())) { in getFirstStackedCallToHeaderFile()
162 if (PathDiagnosticCallPiece *CP = dyn_cast<PathDiagnosticCallPiece>(LastP)) { in resetDiagnosticLocationToMainFile()
240 if (const PathDiagnosticCallPiece *call = in HandlePathDiagnostic()
241 dyn_cast<PathDiagnosticCallPiece>(piece)) { in HandlePathDiagnostic()
299 static Optional<bool> compareCall(const PathDiagnosticCallPiece &X, in compareCall()
[all …]
DBugReporter.cpp116 removeRedundantMsgs(cast<PathDiagnosticCallPiece>(piece)->path); in removeRedundantMsgs()
169 PathDiagnosticCallPiece *call = cast<PathDiagnosticCallPiece>(piece); in removeUnneededCalls()
221 PathDiagnosticCallPiece *Call = dyn_cast<PathDiagnosticCallPiece>(*I); in adjustCallLocations()
255 if (PathDiagnosticCallPiece *C = dyn_cast<PathDiagnosticCallPiece>(*I)) in removeEdgesToDefaultInitializers()
290 if (PathDiagnosticCallPiece *C = dyn_cast<PathDiagnosticCallPiece>(*I)) in removePiecesWithInvalidLocations()
528 typedef std::pair<PathDiagnosticCallPiece*, const ExplodedNode*> StackDiagPair;
541 PathDiagnosticCallPiece *CP = I->first; in updateStackPiecesWithMessage()
577 PathDiagnosticCallPiece *C = in GenerateMinimalPathDiagnostic()
578 PathDiagnosticCallPiece::construct(N, *CE, SMgr); in GenerateMinimalPathDiagnostic()
597 PathDiagnosticCallPiece *C; in GenerateMinimalPathDiagnostic()
[all …]
DPlistDiagnostics.cpp206 const PathDiagnosticCallPiece &P, in ReportCall()
274 ReportCall(o, cast<PathDiagnosticCallPiece>(P), FM, SM, LangOpts, in ReportPiece()
323 if (const PathDiagnosticCallPiece *call = in FlushDiagnosticsImpl()
324 dyn_cast<PathDiagnosticCallPiece>(piece)) { in FlushDiagnosticsImpl()
/external/llvm-project/clang/lib/Analysis/
DPathDiagnostic.cpp72 PathDiagnosticCallPiece::~PathDiagnosticCallPiece() = default;
87 auto &Call = cast<PathDiagnosticCallPiece>(*Piece); in flattenTo()
195 if (const auto *call = dyn_cast<PathDiagnosticCallPiece>(piece)) in HandlePathDiagnostic()
250 static Optional<bool> compareCall(const PathDiagnosticCallPiece &X, in compareCall()
251 const PathDiagnosticCallPiece &Y) { in compareCall()
303 return compareCall(cast<PathDiagnosticCallPiece>(X), in comparePiece()
304 cast<PathDiagnosticCallPiece>(Y)); in comparePiece()
846 std::shared_ptr<PathDiagnosticCallPiece>
847 PathDiagnosticCallPiece::construct(const CallExitEnd &CE, in construct()
853 return std::shared_ptr<PathDiagnosticCallPiece>( in construct()
[all …]
/external/llvm-project/clang/include/clang/Analysis/
DPathDiagnostic.h567 class PathDiagnosticCallPiece : public PathDiagnosticPiece {
583 PathDiagnosticCallPiece(const Decl *callerD, in PathDiagnosticCallPiece() function
587 PathDiagnosticCallPiece(PathPieces &oldPath, const Decl *caller) in PathDiagnosticCallPiece() function
597 ~PathDiagnosticCallPiece() override;
621 static std::shared_ptr<PathDiagnosticCallPiece>
625 static PathDiagnosticCallPiece *construct(PathPieces &pieces,
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h550 class PathDiagnosticCallPiece : public PathDiagnosticPiece {
551 PathDiagnosticCallPiece(const Decl *callerD, in PathDiagnosticCallPiece() function
556 PathDiagnosticCallPiece(PathPieces &oldPath, const Decl *caller) in PathDiagnosticCallPiece() function
577 ~PathDiagnosticCallPiece() override;
605 static PathDiagnosticCallPiece *construct(const ExplodedNode *N,
609 static PathDiagnosticCallPiece *construct(PathPieces &pieces,
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp99 std::pair<PathDiagnosticCallPiece *, const ExplodedNode *>;
385 removeRedundantMsgs(cast<PathDiagnosticCallPiece>(*piece).path); in removeRedundantMsgs()
436 auto &call = cast<PathDiagnosticCallPiece>(*piece); in removeUnneededCalls()
496 auto *Call = dyn_cast<PathDiagnosticCallPiece>(I.get()); in adjustCallLocations()
528 if (auto *C = dyn_cast<PathDiagnosticCallPiece>(I->get())) in removeEdgesToDefaultInitializers()
562 if (auto *C = dyn_cast<PathDiagnosticCallPiece>(I->get())) in removePiecesWithInvalidLocations()
725 PathDiagnosticCallPiece *CP = I.first; in updateStackPiecesWithMessage()
1152 PathDiagnosticCallPiece *Call; in generatePathDiagnosticsForNode()
1154 Call = cast<PathDiagnosticCallPiece>(C.getActivePath().front().get()); in generatePathDiagnosticsForNode()
1159 Call = PathDiagnosticCallPiece::construct(C.getActivePath(), Caller); in generatePathDiagnosticsForNode()
[all …]
DPlistDiagnostics.cpp114 ReportCall(o, cast<PathDiagnosticCallPiece>(P), indent, in ReportPiece()
144 void ReportCall(raw_ostream &o, const PathDiagnosticCallPiece &P,
345 void PlistPrinter::ReportCall(raw_ostream &o, const PathDiagnosticCallPiece &P, in ReportCall()
637 if (const PathDiagnosticCallPiece *Call = in FlushDiagnosticsImpl()
638 dyn_cast<PathDiagnosticCallPiece>(&Piece)) { in FlushDiagnosticsImpl()