Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineParser.cpp104 : Parser(Parser), OriginalLines(Parser.CurrentLines) { in ScopedLineState()
106 Parser.CurrentLines = &Parser.PreprocessorDirectives; in ScopedLineState()
108 Parser.CurrentLines = &Parser.Line->Tokens.back().Children; in ScopedLineState()
123 if (Parser.CurrentLines == &Parser.PreprocessorDirectives) in ~ScopedLineState()
125 Parser.CurrentLines = OriginalLines; in ~ScopedLineState()
164 CurrentLines(&Lines), Style(Style), IsCpp(Style.isCpp()), in UnwrappedLineParser()
188 CurrentLines = &Lines; in reset()
770 auto Index = CurrentLines->size(); in parseBlock()
802 CurrentLines->empty() in parseBlock()
804 : (CurrentLines in parseBlock()
[all...]
H A DUnwrappedLineParser.h260 bool parsingPPDirective() const { return CurrentLines != &Lines; } in parsingPPDirective()
314 SmallVectorImpl<UnwrappedLine> *CurrentLines; variable