Searched refs:CurrentLine (Results 1 – 3 of 3) sorted by relevance
38 StringRef CurrentLine; variable69 StringRef operator*() const { return CurrentLine; }70 const StringRef *operator->() const { return &CurrentLine; }74 LHS.CurrentLine.begin() == RHS.CurrentLine.begin();
38 CurrentLine(Buffer.getBufferSize() ? Buffer.getBufferStart() : nullptr, in line_iterator()53 const char *Pos = CurrentLine.end(); in advance()82 CurrentLine = StringRef(); in advance()92 CurrentLine = StringRef(Pos, Length); in advance()
1544 unsigned CurrentLine, unsigned &NewLine, in checkEmptyNamespace() argument1546 unsigned InitLine = CurrentLine, End = AnnotatedLines.size(); in checkEmptyNamespace()1551 if (!AnnotatedLines[++CurrentLine]->startsWith(tok::l_brace)) { in checkEmptyNamespace()1552 NewLine = CurrentLine; in checkEmptyNamespace()1555 } else if (!AnnotatedLines[CurrentLine]->endsWith(tok::l_brace)) { in checkEmptyNamespace()1558 while (++CurrentLine < End) { in checkEmptyNamespace()1559 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace)) in checkEmptyNamespace()1562 if (AnnotatedLines[CurrentLine]->startsWithNamespace()) { in checkEmptyNamespace()1563 if (!checkEmptyNamespace(AnnotatedLines, CurrentLine, NewLine, in checkEmptyNamespace()1566 CurrentLine = NewLine; in checkEmptyNamespace()[all …]