mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -51,7 +51,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
notify_make_not_available();
|
||||
}
|
||||
|
||||
const char* path_argument = nullptr;
|
||||
char const* path_argument = nullptr;
|
||||
bool mode_coredump = false;
|
||||
Core::ArgsParser args_parser;
|
||||
args_parser.add_positional_argument(path_argument, "Path to a workspace or a file", "path", Core::ArgsParser::Required::No);
|
||||
|
@ -94,7 +94,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
static bool make_is_available()
|
||||
{
|
||||
pid_t pid;
|
||||
const char* argv[] = { "make", "--version", nullptr };
|
||||
char const* argv[] = { "make", "--version", nullptr };
|
||||
posix_spawn_file_actions_t action;
|
||||
posix_spawn_file_actions_init(&action);
|
||||
posix_spawn_file_actions_addopen(&action, STDOUT_FILENO, "/dev/null", O_WRONLY, 0);
|
||||
|
@ -147,12 +147,12 @@ GUI::TextEditor& current_editor()
|
|||
return s_hack_studio_widget->current_editor();
|
||||
}
|
||||
|
||||
void open_file(const String& filename)
|
||||
void open_file(String const& filename)
|
||||
{
|
||||
s_hack_studio_widget->open_file(filename);
|
||||
}
|
||||
|
||||
void open_file(const String& filename, size_t line, size_t column)
|
||||
void open_file(String const& filename, size_t line, size_t column)
|
||||
{
|
||||
s_hack_studio_widget->open_file(filename, line, column);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue