Home | History | Annotate | Download | only in Core

Lines Matching defs:piece

70     PathDiagnosticPiece *Piece = I->get();
72 switch (Piece->getKind()) {
74 PathDiagnosticCallPiece *Call = cast<PathDiagnosticCallPiece>(Piece);
87 PathDiagnosticMacroPiece *Macro = cast<PathDiagnosticMacroPiece>(Piece);
91 Current.push_back(Piece);
94 // FIXME: This probably shouldn't mutate the original path piece.
101 Current.push_back(Piece);
135 "The call piece should be in the main file.");
145 // Check if the last piece in the callee path is a call to a function outside
152 // Otherwise, the last piece is in the main file.
164 // We only need to check if the report ends inside headers, if the last piece
165 // is a call piece.
169 // Mark the piece.
225 const PathDiagnosticPiece *piece = I->get();
226 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc();
234 ArrayRef<SourceRange> Ranges = piece->getRanges();
246 dyn_cast<PathDiagnosticCallPiece>(piece)) {
250 dyn_cast<PathDiagnosticMacroPiece>(piece)) {
1040 const PathDiagnosticPiece *piece = it->get();
1042 dyn_cast<PathDiagnosticCallPiece>(piece)) {