Home
last modified time | relevance | path

Searched refs:CurrentLines (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Format/
DUnwrappedLineParser.cpp123 : Parser(Parser), OriginalLines(Parser.CurrentLines) { in ScopedLineState()
125 Parser.CurrentLines = &Parser.PreprocessorDirectives; in ScopedLineState()
127 Parser.CurrentLines = &Parser.Line->Tokens.back().Children; in ScopedLineState()
140 if (Parser.CurrentLines == &Parser.PreprocessorDirectives) in ~ScopedLineState()
142 Parser.CurrentLines = OriginalLines; in ~ScopedLineState()
205 CurrentLines(&Lines), Style(Style), Keywords(Keywords), Tokens(nullptr), in UnwrappedLineParser()
215 CurrentLines = &Lines; in reset()
2001 if (CurrentLines == &Lines) in addUnwrappedLine()
2004 CurrentLines->push_back(std::move(*Line)); in addUnwrappedLine()
2006 if (CurrentLines == &Lines && !PreprocessorDirectives.empty()) { in addUnwrappedLine()
[all …]
DUnwrappedLineParser.h156 SmallVectorImpl<UnwrappedLine> *CurrentLines; variable