Lines Matching refs:CurrentLine
2696 unsigned CurrentLine, unsigned &NewLine, in checkEmptyNamespace() argument
2698 unsigned InitLine = CurrentLine, End = AnnotatedLines.size(); in checkEmptyNamespace()
2703 if (!AnnotatedLines[++CurrentLine]->startsWith(tok::l_brace)) { in checkEmptyNamespace()
2704 NewLine = CurrentLine; in checkEmptyNamespace()
2707 } else if (!AnnotatedLines[CurrentLine]->endsWith(tok::l_brace)) { in checkEmptyNamespace()
2710 while (++CurrentLine < End) { in checkEmptyNamespace()
2711 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace)) in checkEmptyNamespace()
2714 if (AnnotatedLines[CurrentLine]->startsWithNamespace()) { in checkEmptyNamespace()
2715 if (!checkEmptyNamespace(AnnotatedLines, CurrentLine, NewLine, in checkEmptyNamespace()
2719 CurrentLine = NewLine; in checkEmptyNamespace()
2723 if (containsOnlyComments(*AnnotatedLines[CurrentLine])) in checkEmptyNamespace()
2728 NewLine = CurrentLine; in checkEmptyNamespace()
2732 NewLine = CurrentLine; in checkEmptyNamespace()
2733 if (CurrentLine >= End) in checkEmptyNamespace()
2739 AnnotatedLines[CurrentLine]->Last->Tok.getEndLoc()))) { in checkEmptyNamespace()
2743 for (unsigned i = InitLine; i <= CurrentLine; ++i) in checkEmptyNamespace()