Lines Matching refs:CurrentLine
447 IO.enumCase(Value, "CurrentLine", FormatStyle::PCIS_CurrentLine);
2486 // The function checks if the namespace, which starts from \p CurrentLine, and
2491 unsigned CurrentLine, unsigned &NewLine,
2493 unsigned InitLine = CurrentLine, End = AnnotatedLines.size();
2498 if (!AnnotatedLines[++CurrentLine]->startsWith(tok::l_brace)) {
2499 NewLine = CurrentLine;
2502 } else if (!AnnotatedLines[CurrentLine]->endsWith(tok::l_brace)) {
2505 while (++CurrentLine < End) {
2506 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace))
2509 if (AnnotatedLines[CurrentLine]->startsWithNamespace()) {
2510 if (!checkEmptyNamespace(AnnotatedLines, CurrentLine, NewLine,
2514 CurrentLine = NewLine;
2518 if (containsOnlyComments(*AnnotatedLines[CurrentLine]))
2523 NewLine = CurrentLine;
2527 NewLine = CurrentLine;
2528 if (CurrentLine >= End)
2534 AnnotatedLines[CurrentLine]->Last->Tok.getEndLoc()))) {
2538 for (unsigned i = InitLine; i <= CurrentLine; ++i)