Lines Matching defs:Piece
67 PathDiagnosticPiece *Piece = I->get();
69 switch (Piece->getKind()) {
71 PathDiagnosticCallPiece *Call = cast<PathDiagnosticCallPiece>(Piece);
84 PathDiagnosticMacroPiece *Macro = cast<PathDiagnosticMacroPiece>(Piece);
88 Current.push_back(Piece);
91 // FIXME: This probably shouldn't mutate the original path piece.
98 Current.push_back(Piece);
131 "The call piece should be in the main file.");
141 // Check if the last piece in the callee path is a call to a function outside
148 // Otherwise, the last piece is in the main file.
160 // We only need to check if the report ends inside headers, if the last piece
161 // is a call piece.
165 // Mark the piece.
220 const PathDiagnosticPiece *piece = I->get();
221 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc();
229 ArrayRef<SourceRange> Ranges = piece->getRanges();
241 dyn_cast<PathDiagnosticCallPiece>(piece)) {
245 dyn_cast<PathDiagnosticMacroPiece>(piece)) {
1036 const PathDiagnosticPiece *piece = it->get();
1038 dyn_cast<PathDiagnosticCallPiece>(piece)) {