Lines Matching refs:CurrentLines

190       : Parser(Parser), OriginalLines(Parser.CurrentLines) {  in ScopedLineState()
192 Parser.CurrentLines = &Parser.PreprocessorDirectives; in ScopedLineState()
194 Parser.CurrentLines = &Parser.Line->Tokens.back().Children; in ScopedLineState()
206 if (Parser.CurrentLines == &Parser.PreprocessorDirectives) in ~ScopedLineState()
208 Parser.CurrentLines = OriginalLines; in ~ScopedLineState()
322 CurrentLines(&Lines), Style(Style), Keywords(Keywords), in UnwrappedLineParser()
341 CurrentLines = &Lines; in reset()
847 auto Index = CurrentLines->size(); in parseBlock()
870 CurrentLines == &Lines ? PreprocessorDirectives.size() : 0; in parseBlock()
873 CurrentLines->empty() in parseBlock()
875 : (CurrentLines->size() - 1 - NbPreprocessorDirectives); in parseBlock()
919 assert(!CurrentLines->empty()); in parseBlock()
920 auto &LastLine = CurrentLines->back(); in parseBlock()
930 return mightFitOnOneLine((*CurrentLines)[Index], Tok); in parseBlock()
967 (*CurrentLines)[OpeningLineIndex].MatchingClosingBlockLineIndex = in parseBlock()
968 CurrentLines->size() - 1; in parseBlock()
1093 size_t Line = CurrentLines->size(); in conditionalCompilationCondition()
1094 if (CurrentLines == &PreprocessorDirectives) in conditionalCompilationCondition()
2523 for (const auto &L : llvm::reverse(*CurrentLines)) { in parseUnbracedBody()
4013 if (CurrentLines == &Lines) in addUnwrappedLine()
4025 CurrentLines->push_back(std::move(*Line)); in addUnwrappedLine()
4032 if (CurrentLines == &Lines && !PreprocessorDirectives.empty()) { in addUnwrappedLine()
4033 CurrentLines->append( in addUnwrappedLine()