Lines Matching full:piece
78 for (auto &Piece : *this) { in flattenTo()
79 switch (Piece->getKind()) { in flattenTo()
81 auto &Call = cast<PathDiagnosticCallPiece>(*Piece); in flattenTo()
90 auto &Macro = cast<PathDiagnosticMacroPiece>(*Piece); in flattenTo()
94 Current.push_back(Piece); in flattenTo()
97 // FIXME: This probably shouldn't mutate the original path piece. in flattenTo()
106 Current.push_back(Piece); in flattenTo()
167 const PathDiagnosticPiece *piece = I.get(); in HandlePathDiagnostic() local
168 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); in HandlePathDiagnostic()
178 ArrayRef<SourceRange> Ranges = piece->getRanges(); in HandlePathDiagnostic()
192 if (const auto *call = dyn_cast<PathDiagnosticCallPiece>(piece)) in HandlePathDiagnostic()
194 else if (const auto *macro = dyn_cast<PathDiagnosticMacroPiece>(piece)) in HandlePathDiagnostic()
1069 const PathDiagnosticPiece *piece = I.get(); in compute_path_size() local
1070 if (const auto *cp = dyn_cast<PathDiagnosticCallPiece>(piece)) in compute_path_size()