Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DUnwrappedLineParser.cpp126 OriginalLines = Parser.CurrentLines; in ScopedLineState()
128 Parser.CurrentLines = &Parser.PreprocessorDirectives; in ScopedLineState()
130 Parser.CurrentLines = &Parser.Line->Tokens.back().Children; in ScopedLineState()
143 if (Parser.CurrentLines == &Parser.PreprocessorDirectives) in ~ScopedLineState()
145 Parser.CurrentLines = OriginalLines; in ~ScopedLineState()
209 CurrentLines(&Lines), StructuralError(false), Style(Style), in UnwrappedLineParser()
220 CurrentLines = &Lines; in reset()
1480 if (CurrentLines == &Lines) in addUnwrappedLine()
1483 CurrentLines->push_back(*Line); in addUnwrappedLine()
1485 if (CurrentLines == &Lines && !PreprocessorDirectives.empty()) { in addUnwrappedLine()
[all …]
DUnwrappedLineParser.h149 SmallVectorImpl<UnwrappedLine> *CurrentLines; variable