Searched refs:PreviousLine (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Format/ |
D | AffectedRangeManager.cpp | 27 const AnnotatedLine *PreviousLine = nullptr; in computeAffectedLines() local 51 if (nonPPLineAffected(Line, PreviousLine)) in computeAffectedLines() 54 PreviousLine = Line; in computeAffectedLines() 102 AnnotatedLine *Line, const AnnotatedLine *PreviousLine) { in nonPPLineAffected() argument 133 bool LineMoved = PreviousLine && PreviousLine->Affected && in nonPPLineAffected() 138 Line->First->NewlinesBefore < 2 && PreviousLine && in nonPPLineAffected() 139 PreviousLine->Affected && PreviousLine->Last->is(tok::comment); in nonPPLineAffected()
|
D | UnwrappedLineFormatter.cpp | 813 const AnnotatedLine *PreviousLine = nullptr; in format() local 843 formatFirstToken(*TheLine.First, PreviousLine, TheLine.Level, Indent, in format() 880 StartsNewLine && ((PreviousLine && PreviousLine->Affected) || in format() 884 formatFirstToken(*TheLine.First, PreviousLine, TheLine.Level, in format() 900 PreviousLine = &TheLine; in format() 907 const AnnotatedLine *PreviousLine, in formatFirstToken() argument 930 if (!Style.KeepEmptyLinesAtTheStartOfBlocks && PreviousLine && in formatFirstToken() 931 PreviousLine->Last->is(tok::l_brace) && in formatFirstToken() 932 PreviousLine->First->isNot(tok::kw_namespace) && in formatFirstToken() 933 !startsExternCBlock(*PreviousLine)) in formatFirstToken() [all …]
|
D | AffectedRangeManager.h | 58 const AnnotatedLine *PreviousLine);
|
D | UnwrappedLineFormatter.h | 50 const AnnotatedLine *PreviousLine, unsigned IndentLevel,
|