Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp60 const PathDiagnosticMacroPiece& P,
413 if (!isa<PathDiagnosticMacroPiece>(P)) { in HandlePiece()
481 if (const PathDiagnosticMacroPiece *MP = in HandlePiece()
482 dyn_cast<PathDiagnosticMacroPiece>(&P)) { in HandlePiece()
571 const PathDiagnosticMacroPiece& P, in ProcessMacroPiece()
577 if (const PathDiagnosticMacroPiece *MP = in ProcessMacroPiece()
578 dyn_cast<PathDiagnosticMacroPiece>(*I)) { in ProcessMacroPiece()
DPathDiagnostic.cpp31 bool PathDiagnosticMacroPiece::containsEvent() const { in containsEvent()
36 if (PathDiagnosticMacroPiece *MP = dyn_cast<PathDiagnosticMacroPiece>(*I)) in containsEvent()
62 PathDiagnosticMacroPiece::~PathDiagnosticMacroPiece() {} in ~PathDiagnosticMacroPiece()
84 PathDiagnosticMacroPiece *Macro = cast<PathDiagnosticMacroPiece>(Piece); in flattenTo()
244 else if (const PathDiagnosticMacroPiece *macro = in HandlePathDiagnostic()
245 dyn_cast<PathDiagnosticMacroPiece>(piece)) { in HandlePathDiagnostic()
294 static Optional<bool> compareMacro(const PathDiagnosticMacroPiece &X, in compareMacro()
295 const PathDiagnosticMacroPiece &Y) { in compareMacro()
351 return compareMacro(cast<PathDiagnosticMacroPiece>(X), in comparePiece()
352 cast<PathDiagnosticMacroPiece>(Y)); in comparePiece()
[all …]
DPlistDiagnostics.cpp241 const PathDiagnosticMacroPiece& P, in ReportMacro()
282 ReportMacro(o, cast<PathDiagnosticMacroPiece>(P), FM, SM, LangOpts, in ReportPiece()
332 else if (const PathDiagnosticMacroPiece *macro = in FlushDiagnosticsImpl()
333 dyn_cast<PathDiagnosticMacroPiece>(piece)) { in FlushDiagnosticsImpl()
DBugReporter.cpp119 removeRedundantMsgs(cast<PathDiagnosticMacroPiece>(piece)->subPieces); in removeRedundantMsgs()
184 PathDiagnosticMacroPiece *macro = cast<PathDiagnosticMacroPiece>(piece); in removeUnneededCalls()
258 if (PathDiagnosticMacroPiece *M = dyn_cast<PathDiagnosticMacroPiece>(*I)) in removeEdgesToDefaultInitializers()
293 if (PathDiagnosticMacroPiece *M = dyn_cast<PathDiagnosticMacroPiece>(*I)) in removePiecesWithInvalidLocations()
2962 typedef std::vector<std::pair<IntrusiveRefCntPtr<PathDiagnosticMacroPiece>, in CompactPathDiagnostic()
3006 IntrusiveRefCntPtr<PathDiagnosticMacroPiece> MacroGroup; in CompactPathDiagnostic()
3029 PathDiagnosticMacroPiece *NewGroup = in CompactPathDiagnostic()
3030 new PathDiagnosticMacroPiece( in CompactPathDiagnostic()
3515 LLVM_DUMP_METHOD void PathDiagnosticMacroPiece::dump() const { in dump()
/external/llvm-project/clang/lib/Analysis/
DPathDiagnostic.cpp76 PathDiagnosticMacroPiece::~PathDiagnosticMacroPiece() = default;
96 auto &Macro = cast<PathDiagnosticMacroPiece>(*Piece); in flattenTo()
197 else if (const auto *macro = dyn_cast<PathDiagnosticMacroPiece>(piece)) in HandlePathDiagnostic()
245 static Optional<bool> compareMacro(const PathDiagnosticMacroPiece &X, in compareMacro()
246 const PathDiagnosticMacroPiece &Y) { in compareMacro()
300 return compareMacro(cast<PathDiagnosticMacroPiece>(X), in comparePiece()
301 cast<PathDiagnosticMacroPiece>(Y)); in comparePiece()
1120 void PathDiagnosticMacroPiece::Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
1184 LLVM_DUMP_METHOD void PathDiagnosticMacroPiece::dump() const { in dump()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DPlistDiagnostics.cpp83 llvm::SmallVector<const PathDiagnosticMacroPiece *, 0> MacroPieces;
122 ReportMacroSubPieces(o, cast<PathDiagnosticMacroPiece>(P), indent, in ReportPiece()
146 void ReportMacroSubPieces(raw_ostream &o, const PathDiagnosticMacroPiece& P,
373 const PathDiagnosticMacroPiece& P, in ReportMacroSubPieces()
389 for (const PathDiagnosticMacroPiece *P : MacroPieces) { in ReportMacroExpansions()
646 } else if (const PathDiagnosticMacroPiece *Macro = in FlushDiagnosticsImpl()
647 dyn_cast<PathDiagnosticMacroPiece>(&Piece)) { in FlushDiagnosticsImpl()
DHTMLDiagnostics.cpp88 const PathDiagnosticMacroPiece& P,
848 if (!isa<PathDiagnosticMacroPiece>(P)) { in HandlePiece()
916 if (const auto *MP = dyn_cast<PathDiagnosticMacroPiece>(&P)) { in HandlePiece()
1008 const PathDiagnosticMacroPiece& P, in ProcessMacroPiece()
1011 if (const auto *MP = dyn_cast<PathDiagnosticMacroPiece>(subPiece.get())) { in ProcessMacroPiece()
DBugReporter.cpp388 removeRedundantMsgs(cast<PathDiagnosticMacroPiece>(*piece).subPieces); in removeRedundantMsgs()
447 auto &macro = cast<PathDiagnosticMacroPiece>(*piece); in removeUnneededCalls()
531 if (auto *M = dyn_cast<PathDiagnosticMacroPiece>(I->get())) in removeEdgesToDefaultInitializers()
565 if (auto *M = dyn_cast<PathDiagnosticMacroPiece>(I->get())) in removePiecesWithInvalidLocations()
2652 std::pair<std::shared_ptr<PathDiagnosticMacroPiece>, SourceLocation>>; in CompactMacroExpandedPieces()
2693 std::shared_ptr<PathDiagnosticMacroPiece> MacroGroup; in CompactMacroExpandedPieces()
2716 auto NewGroup = std::make_shared<PathDiagnosticMacroPiece>( in CompactMacroExpandedPieces()
/external/llvm-project/clang/include/clang/Analysis/
DPathDiagnostic.h707 class PathDiagnosticMacroPiece : public PathDiagnosticSpotPiece {
709 PathDiagnosticMacroPiece(const PathDiagnosticLocation &pos) in PathDiagnosticMacroPiece() function
711 ~PathDiagnosticMacroPiece() override;
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h687 class PathDiagnosticMacroPiece : public PathDiagnosticSpotPiece {
689 PathDiagnosticMacroPiece(const PathDiagnosticLocation &pos) in PathDiagnosticMacroPiece() function
692 ~PathDiagnosticMacroPiece() override;