Lines Matching refs:PreviousLine
813 const AnnotatedLine *PreviousLine = nullptr; in format() local
855 if (PreviousLine && PreviousLine->Affected && !DryRun) { in format()
866 formatFirstToken(*TheLine.First, PreviousLine, TheLine.Level, in format()
908 if ((PreviousLine && PreviousLine->Affected) || in format()
910 formatFirstToken(*Tok, PreviousLine, TheLine.Level, LevelIndent, in format()
931 PreviousLine = *I; in format()
992 const AnnotatedLine *PreviousLine, unsigned IndentLevel, in formatFirstToken() argument
1007 if (!Style.KeepEmptyLinesAtTheStartOfBlocks && PreviousLine && in formatFirstToken()
1008 PreviousLine->Last->is(tok::l_brace) && in formatFirstToken()
1009 PreviousLine->First->isNot(tok::kw_namespace)) in formatFirstToken()
1013 if (PreviousLine && PreviousLine->Last->isOneOf(tok::semi, tok::r_brace) && in formatFirstToken()
1018 if (PreviousLine && PreviousLine->First->isAccessSpecifier()) in formatFirstToken()
1754 const AnnotatedLine *PreviousLine = nullptr; in computeAffectedLines() local
1778 if (nonPPLineAffected(Line, PreviousLine)) in computeAffectedLines()
1781 PreviousLine = Line; in computeAffectedLines()
1790 const AnnotatedLine *PreviousLine) { in nonPPLineAffected() argument
1821 bool LineMoved = PreviousLine && PreviousLine->Affected && in nonPPLineAffected()
1826 Line->First->NewlinesBefore < 2 && PreviousLine && in nonPPLineAffected()
1827 PreviousLine->Affected && PreviousLine->Last->is(tok::comment); in nonPPLineAffected()