Lines Matching full:back

126 // ActiveReconstructedLines.back() is the line that has \p ExpandedParent or its
129 // is the parent of ActiveReconstructedLines.back() in the reconstructed
153 getParentInResult(MacroCallStructure.back().MacroCallLParen); in prepareParent()
156 << MacroCallStructure.back().MacroCallLParen->TokenText in prepareParent()
162 (!ActiveReconstructedLines.back()->Tokens.empty() && in prepareParent()
163 Parent == ActiveReconstructedLines.back()->Tokens.back()->Tok)) { in prepareParent()
166 while (ActiveReconstructedLines.back()->Tokens.empty() || in prepareParent()
167 (Parent != ActiveReconstructedLines.back()->Tokens.back()->Tok && in prepareParent()
168 ActiveReconstructedLines.back()->Tokens.back()->Tok != in prepareParent()
174 ActiveReconstructedLines.back()->Tokens.back()->Children.push_back( in prepareParent()
177 &*ActiveReconstructedLines.back()->Tokens.back()->Children.back()); in prepareParent()
178 } else if (parentLine().Tokens.back()->Tok != Parent) { in prepareParent()
181 while (Parent != parentLine().Tokens.back()->Tok && in prepareParent()
182 parentLine().Tokens.back()->Tok && in prepareParent()
183 parentLine().Tokens.back()->Tok != OpenMacroParent) { in prepareParent()
222 if (ActiveExpansions.back().SpelledI != ActiveExpansions.back().SpelledE) { in reconstruct()
230 assert(ActiveExpansions.back().SpelledI->Tok == Token); in reconstruct()
237 currentLine()->Tokens.back()->Tok; in reconstruct()
243 SpelledParentToReconstructedParent[Token] = (*I)->Tokens.back()->Tok; in reconstruct()
293 if (ActiveExpansions.back().SpelledI == ActiveExpansions.back().SpelledE) in startReconstruction()
295 if (ActiveExpansions.back().SpelledI->Tok->is(tok::l_paren)) { in startReconstruction()
310 while (ActiveExpansions.back().SpelledI != ActiveExpansions.back().SpelledE && in reconstructActiveCallUntil()
311 ActiveExpansions.back().SpelledI->Tok != Token) { in reconstructActiveCallUntil()
326 for (auto T = ActiveExpansions.back().SpelledI; in endReconstruction()
327 T != ActiveExpansions.back().SpelledE; ++T) { in endReconstruction()
329 bool ClosingParen = (std::next(T) == ActiveExpansions.back().SpelledE || in endReconstruction()
359 for (auto T = ActiveExpansions.back().SpelledI; in endReconstruction()
360 T != ActiveExpansions.back().SpelledE; ++T) { in endReconstruction()
389 FormatToken *Token = ActiveExpansions.back().SpelledI->Tok; in processNextReconstructed()
390 ++ActiveExpansions.back().SpelledI; in processNextReconstructed()
415 currentLine(), parentLine().Tokens.back()->Tok, Token)); in processNextReconstructed()
424 SpelledParentToReconstructedParent[MacroCallStructure.back() in processNextReconstructed()
428 MacroCallStructure.back().Line->Level); in processNextReconstructed()
436 [MacroCallStructure.back().Line->Tokens.back()->Tok] = Token; in processNextReconstructed()
438 appendToken(Token, MacroCallStructure.back().Line); in processNextReconstructed()
440 MacroCallStructure.back().Line->Level); in processNextReconstructed()
444 appendToken(Token, MacroCallStructure.back().Line); in processNextReconstructed()
446 MacroCallStructure.back().ParentLastToken); in processNextReconstructed()
484 LineNode *Last = (*I)->Tokens.back().get(); in finalize()
494 Last = Last->Children.back()->Tokens.back().get(); in finalize()
513 UnwrappedLineNode &Current = Result.Tokens.back(); in createUnwrappedLine()
574 return ActiveReconstructedLines.back(); in currentLine()