Lines Matching defs:pieces

113 /// Map from each node to the diagnostic pieces visitors emit for them.
193 "Failed to find the context associated with these pieces!");
229 /// The diagnostic pieces visitors emitted, which is expected to be collected
246 /// This function is responsible for generating diagnostic pieces that are
383 /// can lead to redundant diagnostic pieces at the same point in a path.
410 // Check to see if we should keep one of the two pieces. If we
431 /// Recursively scan through a path and prune out calls and macros pieces
435 PathPieces &pieces,
439 const unsigned N = pieces.size();
444 auto piece = std::move(pieces.front());
445 pieces.pop_front();
480 pieces.push_back(std::move(piece));
486 /// Same logic as above to remove extra pieces.
503 /// Recursively scan through a path and make sure that all call pieces have
570 /// Remove all pieces with invalid locations as these cannot be serialized.
571 /// We might have pieces with invalid locations as a result of inlining Body
724 /// If the piece contains a special message, add it to all the call pieces on
1166 // call piece to encapsulate the rest of the path pieces.
1206 // a new call piece to contain the path pieces for that call.
1430 static void addContextEdges(PathPieces &pieces, const LocationContext *LC) {
1432 PathPieces::iterator Prev = pieces.end();
1433 for (PathPieces::iterator I = pieces.begin(), E = Prev; I != E;
1496 I = pieces.insert(I, std::move(P));
1511 static void simplifySimpleBranches(PathPieces &pieces) {
1512 for (PathPieces::iterator I = pieces.begin(), E = pieces.end(); I != E; ++I) {
1571 I = pieces.erase(I);
2040 // Add pieces from custom visitors.
2078 // Redirect all call pieces to have valid locations.
2799 // Now take the pieces and construct a new PathDiagnostic.