Home | History | Annotate | Download | only in Format

Lines Matching refs:Lines

35 /// subsequent lines on the same level to be indented at the same level as the
70 /// When a line is not formatted, we move the subsequent lines on the same
132 const SmallVectorImpl<AnnotatedLine *> &Lines)
133 : Style(Style), Keywords(Keywords), End(Lines.end()),
134 Next(Lines.begin()) {}
136 /// \brief Returns the next line, merging multiple lines into one if possible.
147 // input lines.
159 /// \brief Calculates how many lines can be merged into 1 starting at \p I.
371 // Check that we still have three lines and they fit into the limit.
502 /// If \p NewLine is true, we format the nested block on separate lines, i.e.
503 /// break after the "{", format all lines with correct indentation and the put
620 /// \brief Finds the best way to break lines.
797 UnwrappedLineFormatter::format(const SmallVectorImpl<AnnotatedLine *> &Lines,
800 LineJoiner Joiner(Style, Keywords, Lines);
804 &Lines, AdditionalIndent);
809 assert(!Lines.empty());
811 LevelIndentTracker IndentTracker(Style, Keywords, Lines[0]->Level,
816 // The minimum level of consecutive lines that have been formatted.
825 // We continue formatting unchanged lines to adjust their indent, e.g. if a
827 // exit the scope of affected lines to prevent indenting a the entire
868 // Adapt following lines on the current indent level to the same level
915 // Remove empty lines before "}" where applicable.
925 // Remove empty lines after "{".
937 // Remove empty lines after access specifiers.