Lines Matching refs:PreviousLine
354 const AnnotatedLine *PreviousLine = nullptr; in format() local
396 if (PreviousLine && PreviousLine->Affected && !DryRun) { in format()
407 formatFirstToken(*TheLine.First, PreviousLine, TheLine.Level, Indent, in format()
449 if ((PreviousLine && PreviousLine->Affected) || in format()
451 formatFirstToken(*Tok, PreviousLine, TheLine.Level, LevelIndent, in format()
469 PreviousLine = *I; in format()
489 const AnnotatedLine *PreviousLine, in formatFirstToken() argument
506 if (!Style.KeepEmptyLinesAtTheStartOfBlocks && PreviousLine && in formatFirstToken()
507 PreviousLine->Last->is(tok::l_brace) && in formatFirstToken()
508 PreviousLine->First->isNot(tok::kw_namespace) && in formatFirstToken()
509 !startsExternCBlock(*PreviousLine)) in formatFirstToken()
513 if (PreviousLine && PreviousLine->Last->isOneOf(tok::semi, tok::r_brace) && in formatFirstToken()
518 if (PreviousLine && PreviousLine->First->isAccessSpecifier() && in formatFirstToken()
519 (!PreviousLine->InPPDirective || !RootToken.HasUnescapedNewline)) in formatFirstToken()