Home | History | Annotate | Download | only in Core

Lines Matching refs:piece

69     PathDiagnosticPiece *Piece = I->getPtr();
71 switch (Piece->getKind()) {
73 PathDiagnosticCallPiece *Call = cast<PathDiagnosticCallPiece>(Piece);
86 PathDiagnosticMacroPiece *Macro = cast<PathDiagnosticMacroPiece>(Piece);
90 Current.push_back(Piece);
93 // FIXME: This probably shouldn't mutate the original path piece.
100 Current.push_back(Piece);
133 "The call piece should be in the main file.");
143 // Check if the last piece in the callee path is a call to a function outside
150 // Otherwise, the last piece is in the main file.
162 // We only need to check if the report ends inside headers, if the last piece
163 // is a call piece.
167 // Mark the piece.
224 const PathDiagnosticPiece *piece = I->getPtr();
225 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc();
233 ArrayRef<SourceRange> Ranges = piece->getRanges();
245 dyn_cast<PathDiagnosticCallPiece>(piece)) {
249 dyn_cast<PathDiagnosticMacroPiece>(piece)) {
1025 const PathDiagnosticPiece *piece = it->getPtr();
1027 dyn_cast<PathDiagnosticCallPiece>(piece)) {