Lines Matching defs:Piece
602 for (const auto &Piece : path) {
603 if (const auto *P = dyn_cast<PathDiagnosticNotePiece>(Piece.get())) {
747 const PathDiagnosticPopUpPiece &Piece,
754 SourceRange Range(Piece.getLocation().asRange());
765 Out << "</div></td><td>" << Piece.getString() << "</td></tr>";
809 const auto &Piece = *I.get();
811 if (isa<PathDiagnosticPopUpPiece>(Piece)) {
813 } else if (isa<PathDiagnosticNotePiece>(Piece)) {
817 HandlePiece(R, FID, Piece, PopUpRanges, NumNotePieces, TotalNotePieces);
820 } else if (isArrowPiece(Piece)) {
822 R, FID, cast<PathDiagnosticControlFlowPiece>(Piece), NumberOfArrows);
826 HandlePiece(R, FID, Piece, PopUpRanges, NumRegularPieces,
852 const auto &Piece = *I.get();
854 if (const auto *PopUpP = dyn_cast<PathDiagnosticPopUpPiece>(&Piece)) {
868 } else if (!isa<PathDiagnosticNotePiece>(Piece) && !isArrowPiece(Piece)) {