Lines Matching refs:CurrentLine
1349 unsigned CurrentLine, unsigned &NewLine, in checkEmptyNamespace() argument
1351 unsigned InitLine = CurrentLine, End = AnnotatedLines.size(); in checkEmptyNamespace()
1356 if (!AnnotatedLines[++CurrentLine]->startsWith(tok::l_brace)) { in checkEmptyNamespace()
1357 NewLine = CurrentLine; in checkEmptyNamespace()
1360 } else if (!AnnotatedLines[CurrentLine]->endsWith(tok::l_brace)) { 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()
1368 if (!checkEmptyNamespace(AnnotatedLines, CurrentLine, NewLine, 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()
1391 AnnotatedLines[CurrentLine]->Last->Tok.getEndLoc()))) in checkEmptyNamespace()
1394 for (unsigned i = InitLine; i <= CurrentLine; ++i) { in checkEmptyNamespace()