Searched refs:CurrentLine (Results 1 – 3 of 3) sorted by relevance
39 StringRef CurrentLine; variable70 StringRef operator*() const { return CurrentLine; }71 const StringRef *operator->() const { return &CurrentLine; }75 LHS.CurrentLine.begin() == RHS.CurrentLine.begin();
39 CurrentLine(Buffer.getBufferSize() ? Buffer.getBufferStart() : nullptr, in line_iterator()54 const char *Pos = CurrentLine.end(); in advance()83 CurrentLine = StringRef(); in advance()93 CurrentLine = StringRef(Pos, Length); in advance()
1351 unsigned InitLine = CurrentLine, End = AnnotatedLines.size(); in checkEmptyNamespace()1357 NewLine = CurrentLine; in checkEmptyNamespace()1363 while (++CurrentLine < End) { in checkEmptyNamespace()1364 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace)) in checkEmptyNamespace()1367 if (AnnotatedLines[CurrentLine]->startsWithNamespace()) { in checkEmptyNamespace()1371 CurrentLine = NewLine; in checkEmptyNamespace()1375 if (containsOnlyComments(*AnnotatedLines[CurrentLine])) in checkEmptyNamespace()1380 NewLine = CurrentLine; in checkEmptyNamespace()1384 NewLine = CurrentLine; in checkEmptyNamespace()1385 if (CurrentLine >= End) in checkEmptyNamespace()[all …]