Lines Matching defs:CurrentLine
483 IO.enumCase(Value, "CurrentLine", FormatStyle::PCIS_CurrentLine);
2758 // The function checks if the namespace, which starts from \p CurrentLine, and
2763 unsigned CurrentLine, unsigned &NewLine,
2765 unsigned InitLine = CurrentLine, End = AnnotatedLines.size();
2770 if (!AnnotatedLines[++CurrentLine]->startsWith(tok::l_brace)) {
2771 NewLine = CurrentLine;
2774 } else if (!AnnotatedLines[CurrentLine]->endsWith(tok::l_brace)) {
2777 while (++CurrentLine < End) {
2778 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace))
2781 if (AnnotatedLines[CurrentLine]->startsWithNamespace()) {
2782 if (!checkEmptyNamespace(AnnotatedLines, CurrentLine, NewLine,
2786 CurrentLine = NewLine;
2790 if (containsOnlyComments(*AnnotatedLines[CurrentLine]))
2795 NewLine = CurrentLine;
2799 NewLine = CurrentLine;
2800 if (CurrentLine >= End)
2806 AnnotatedLines[CurrentLine]->Last->Tok.getEndLoc()))) {
2810 for (unsigned i = InitLine; i <= CurrentLine; ++i)