Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DUnwrappedLineParser.cpp127 : Parser(Parser), OriginalLines(Parser.CurrentLines) { in ScopedLineState()
129 Parser.CurrentLines = &Parser.PreprocessorDirectives; in ScopedLineState()
131 Parser.CurrentLines = &Parser.Line->Tokens.back().Children; in ScopedLineState()
144 if (Parser.CurrentLines == &Parser.PreprocessorDirectives) in ~ScopedLineState()
146 Parser.CurrentLines = OriginalLines; in ~ScopedLineState()
211 CurrentLines(&Lines), StructuralError(false), Style(Style), in UnwrappedLineParser()
222 CurrentLines = &Lines; in reset()
1709 if (CurrentLines == &Lines) in addUnwrappedLine()
1712 CurrentLines->push_back(*Line); in addUnwrappedLine()
1714 if (CurrentLines == &Lines && !PreprocessorDirectives.empty()) { in addUnwrappedLine()
[all …]
DUnwrappedLineParser.h155 SmallVectorImpl<UnwrappedLine> *CurrentLines; variable