Lines Matching defs:CurrentLine
461 IO.enumCase(Value, "CurrentLine", FormatStyle::PCIS_CurrentLine);
2691 // The function checks if the namespace, which starts from \p CurrentLine, and
2696 unsigned CurrentLine, unsigned &NewLine,
2698 unsigned InitLine = CurrentLine, End = AnnotatedLines.size();
2703 if (!AnnotatedLines[++CurrentLine]->startsWith(tok::l_brace)) {
2704 NewLine = CurrentLine;
2707 } else if (!AnnotatedLines[CurrentLine]->endsWith(tok::l_brace)) {
2710 while (++CurrentLine < End) {
2711 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace))
2714 if (AnnotatedLines[CurrentLine]->startsWithNamespace()) {
2715 if (!checkEmptyNamespace(AnnotatedLines, CurrentLine, NewLine,
2719 CurrentLine = NewLine;
2723 if (containsOnlyComments(*AnnotatedLines[CurrentLine]))
2728 NewLine = CurrentLine;
2732 NewLine = CurrentLine;
2733 if (CurrentLine >= End)
2739 AnnotatedLines[CurrentLine]->Last->Tok.getEndLoc()))) {
2743 for (unsigned i = InitLine; i <= CurrentLine; ++i)