Lines Matching refs:CurrentLine
470 IO.enumCase(Value, "CurrentLine", FormatStyle::PCIS_CurrentLine);
2658 // The function checks if the namespace, which starts from \p CurrentLine, and
2663 unsigned CurrentLine, unsigned &NewLine,
2665 unsigned InitLine = CurrentLine, End = AnnotatedLines.size();
2670 if (!AnnotatedLines[++CurrentLine]->startsWith(tok::l_brace)) {
2671 NewLine = CurrentLine;
2674 } else if (!AnnotatedLines[CurrentLine]->endsWith(tok::l_brace)) {
2677 while (++CurrentLine < End) {
2678 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace))
2681 if (AnnotatedLines[CurrentLine]->startsWithNamespace()) {
2682 if (!checkEmptyNamespace(AnnotatedLines, CurrentLine, NewLine,
2686 CurrentLine = NewLine;
2690 if (containsOnlyComments(*AnnotatedLines[CurrentLine]))
2695 NewLine = CurrentLine;
2699 NewLine = CurrentLine;
2700 if (CurrentLine >= End)
2706 AnnotatedLines[CurrentLine]->Last->Tok.getEndLoc()))) {
2710 for (unsigned i = InitLine; i <= CurrentLine; ++i)