mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:17:45 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -53,7 +53,7 @@ RecursionDecision Document::walk(Visitor& visitor) const
|
|||
|
||||
OwnPtr<Document> Document::parse(StringView str)
|
||||
{
|
||||
const Vector<StringView> lines_vec = str.lines();
|
||||
Vector<StringView> const lines_vec = str.lines();
|
||||
LineIterator lines(lines_vec.begin());
|
||||
return make<Document>(ContainerBlock::parse(lines));
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ String List::render_to_html(bool) const
|
|||
{
|
||||
StringBuilder builder;
|
||||
|
||||
const char* tag = m_is_ordered ? "ol" : "ul";
|
||||
char const* tag = m_is_ordered ? "ol" : "ul";
|
||||
builder.appendff("<{}", tag);
|
||||
|
||||
if (m_start_number != 1)
|
||||
|
|
|
@ -16,7 +16,7 @@ String Table::render_for_terminal(size_t view_width) const
|
|||
auto unit_width_length = view_width == 0 ? 4 : ((float)(view_width - m_columns.size()) / (float)m_total_width);
|
||||
StringBuilder builder;
|
||||
|
||||
auto write_aligned = [&](const auto& text, auto width, auto alignment) {
|
||||
auto write_aligned = [&](auto const& text, auto width, auto alignment) {
|
||||
size_t original_length = text.terminal_length();
|
||||
auto string = text.render_for_terminal();
|
||||
if (alignment == Alignment::Center) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue