Lines Matching refs:CurrentLine
339 IO.enumCase(Value, "CurrentLine", FormatStyle::PCIS_CurrentLine);
2285 // The function checks if the namespace, which starts from \p CurrentLine, and
2290 unsigned CurrentLine, unsigned &NewLine,
2292 unsigned InitLine = CurrentLine, End = AnnotatedLines.size();
2297 if (!AnnotatedLines[++CurrentLine]->startsWith(tok::l_brace)) {
2298 NewLine = CurrentLine;
2301 } else if (!AnnotatedLines[CurrentLine]->endsWith(tok::l_brace)) {
2304 while (++CurrentLine < End) {
2305 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace))
2308 if (AnnotatedLines[CurrentLine]->startsWithNamespace()) {
2309 if (!checkEmptyNamespace(AnnotatedLines, CurrentLine, NewLine,
2313 CurrentLine = NewLine;
2317 if (containsOnlyComments(*AnnotatedLines[CurrentLine]))
2322 NewLine = CurrentLine;
2326 NewLine = CurrentLine;
2327 if (CurrentLine >= End)
2333 AnnotatedLines[CurrentLine]->Last->Tok.getEndLoc()))) {
2337 for (unsigned i = InitLine; i <= CurrentLine; ++i)