1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +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

@ -10,12 +10,12 @@
#include <AK/Vector.h>
namespace Diff {
String generate_only_additions(const String& text)
String generate_only_additions(String const& text)
{
auto lines = text.split('\n', true); // Keep empty
StringBuilder builder;
builder.appendff("@@ -0,0 +1,{} @@\n", lines.size());
for (const auto& line : lines) {
for (auto const& line : lines) {
builder.appendff("+{}\n", line);
}
return builder.to_string();