1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:57:43 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -416,14 +416,15 @@ void Printer::print(Wasm::ImportSection::Import const& import)
{
TemporaryChange change { m_indent, m_indent + 1 };
import.description().visit(
[this](auto const& type) { print(type); },
[this](auto const& type) { print(type);
},
[this](TypeIndex const& index) {
print_indent();
print("(type index {})\n", index.value());
print_indent();
print("(type index {})\n", index.value());
});
}
print_indent();
print(")\n");
}
print_indent();
print(")\n");
}
void Printer::print(Wasm::Instruction const& instruction)
@ -671,7 +672,6 @@ void Printer::print(Wasm::Reference const& value)
[](Wasm::Reference::Null const&) { return String("null"); },
[](auto const& ref) { return String::number(ref.address.value()); }));
}
}
HashMap<Wasm::OpCode, String> Wasm::Names::instruction_names {