Lines Matching refs:CurrentLine
1940 unsigned CurrentLine, unsigned &NewLine, in checkEmptyNamespace() argument
1942 unsigned InitLine = CurrentLine, End = AnnotatedLines.size(); in checkEmptyNamespace()
1947 if (!AnnotatedLines[++CurrentLine]->startsWith(tok::l_brace)) { in checkEmptyNamespace()
1948 NewLine = CurrentLine; in checkEmptyNamespace()
1951 } else if (!AnnotatedLines[CurrentLine]->endsWith(tok::l_brace)) { in checkEmptyNamespace()
1954 while (++CurrentLine < End) { in checkEmptyNamespace()
1955 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace)) in checkEmptyNamespace()
1958 if (AnnotatedLines[CurrentLine]->startsWithNamespace()) { in checkEmptyNamespace()
1959 if (!checkEmptyNamespace(AnnotatedLines, CurrentLine, NewLine, in checkEmptyNamespace()
1962 CurrentLine = NewLine; in checkEmptyNamespace()
1966 if (containsOnlyComments(*AnnotatedLines[CurrentLine])) in checkEmptyNamespace()
1971 NewLine = CurrentLine; in checkEmptyNamespace()
1975 NewLine = CurrentLine; in checkEmptyNamespace()
1976 if (CurrentLine >= End) in checkEmptyNamespace()
1982 AnnotatedLines[CurrentLine]->Last->Tok.getEndLoc()))) in checkEmptyNamespace()
1985 for (unsigned i = InitLine; i <= CurrentLine; ++i) { in checkEmptyNamespace()