From 54b7e7eddac75bf64ec7b242a4e21baa50385d6b Mon Sep 17 00:00:00 2001 From: MacroModel Date: Thu, 5 Dec 2024 12:39:11 +0800 Subject: [PATCH] add_utf8_bom_to_all_cplusplus_files --- examples/0006.file_io/dir_file.cc | 2 +- examples/0035.process/args_envs.cc | 2 +- examples/0035.process/pipe.cc | 2 +- examples/0035.process/process.cc | 2 +- examples/0036.at/access.cc | 2 +- examples/0036.at/chmod.cc | 2 +- examples/0036.at/chown.cc | 2 +- examples/0036.at/link.cc | 2 +- examples/0036.at/mkdir.cc | 2 +- examples/0036.at/rename.cc | 2 +- examples/0036.at/stat.cc | 2 +- examples/0036.at/symlink.cc | 2 +- examples/0036.at/unlink.cc | 2 +- examples/0036.at/unlink_dir.cc | 2 +- examples/0036.at/utime.cc | 2 +- include/fast_io_core_impl/operations/refs/buf.h | 2 +- include/fast_io_hosted/platforms/nt/nt_preliminary_definition.h | 2 +- include/fast_io_hosted/platforms/win32_io_redirection.h | 2 +- include/fast_io_hosted/process/ipc/basic.h | 2 +- include/fast_io_hosted/process/ipc/native.h | 2 +- include/fast_io_hosted/process/ipc/posix/eventfd.h | 2 +- include/fast_io_hosted/process/ipc/posix/named_pipe.h | 2 +- include/fast_io_hosted/process/ipc/posix/unix_socket.h | 2 +- include/fast_io_hosted/process/ipc/win32/alpc.h | 2 +- include/fast_io_hosted/process/ipc/win32/named_pipe.h | 2 +- include/fast_io_hosted/process/ipc/win32/rpc.h | 2 +- include/fast_io_hosted/process/process.h | 2 +- include/fast_io_hosted/process/process/arg_env.h | 2 +- include/fast_io_hosted/threads/iouring/nt.h | 2 +- include/fast_io_hosted/threads/iouring/posix.h | 2 +- include/fast_io_hosted/threads/iouring/simulatation.h | 2 +- include/fast_io_tools/install_path.h | 2 +- include/fast_io_tools/install_path/install_path.h | 2 +- include/fast_io_tools/install_path/method.h | 2 +- tests/0006.output_device/all_output_device.cc | 2 +- tests/0031.tpeb/teb.cc | 2 +- tests/0035.install_path/argv0_install_path.cc | 2 +- tests/0035.install_path/install_path.cc | 2 +- tests/0036.sto/sto.cc | 2 +- 39 files changed, 39 insertions(+), 39 deletions(-) diff --git a/examples/0006.file_io/dir_file.cc b/examples/0006.file_io/dir_file.cc index 223475622..2afb249d9 100644 --- a/examples/0006.file_io/dir_file.cc +++ b/examples/0006.file_io/dir_file.cc @@ -1,4 +1,4 @@ -#include +#include #include int main(int argc, char **argv) diff --git a/examples/0035.process/args_envs.cc b/examples/0035.process/args_envs.cc index 326869bf7..70c427a95 100644 --- a/examples/0035.process/args_envs.cc +++ b/examples/0035.process/args_envs.cc @@ -1,4 +1,4 @@ -#include +#include int main(int argc, char **argv) { diff --git a/examples/0035.process/pipe.cc b/examples/0035.process/pipe.cc index e8c090699..a8f861736 100644 --- a/examples/0035.process/pipe.cc +++ b/examples/0035.process/pipe.cc @@ -1,4 +1,4 @@ -#include +#include #include int main(int argc, char **argv) diff --git a/examples/0035.process/process.cc b/examples/0035.process/process.cc index 3ad6f5ffa..96a0821d0 100644 --- a/examples/0035.process/process.cc +++ b/examples/0035.process/process.cc @@ -1,4 +1,4 @@ -#include +#include int main(int argc, char **argv) { diff --git a/examples/0036.at/access.cc b/examples/0036.at/access.cc index 649002421..cf03f8254 100644 --- a/examples/0036.at/access.cc +++ b/examples/0036.at/access.cc @@ -1,4 +1,4 @@ -#include +#include #include int main(int argc, char **argv) diff --git a/examples/0036.at/chmod.cc b/examples/0036.at/chmod.cc index 9e67d7a26..586a8568c 100644 --- a/examples/0036.at/chmod.cc +++ b/examples/0036.at/chmod.cc @@ -1,4 +1,4 @@ -#include +#include #include int main(int argc, char **argv) diff --git a/examples/0036.at/chown.cc b/examples/0036.at/chown.cc index 264d8e78e..5a434b026 100644 --- a/examples/0036.at/chown.cc +++ b/examples/0036.at/chown.cc @@ -1,4 +1,4 @@ -#include +#include #include int main(int argc, char **argv) diff --git a/examples/0036.at/link.cc b/examples/0036.at/link.cc index 28ba1d39a..3b3906e8b 100644 --- a/examples/0036.at/link.cc +++ b/examples/0036.at/link.cc @@ -1,4 +1,4 @@ -#include +#include int main(int argc, char** argv) { diff --git a/examples/0036.at/mkdir.cc b/examples/0036.at/mkdir.cc index b8184ff5d..ad1bcc0c1 100644 --- a/examples/0036.at/mkdir.cc +++ b/examples/0036.at/mkdir.cc @@ -1,4 +1,4 @@ -#include +#include int main(int argc, char **argv) { diff --git a/examples/0036.at/rename.cc b/examples/0036.at/rename.cc index c6c6ba228..6ec330576 100644 --- a/examples/0036.at/rename.cc +++ b/examples/0036.at/rename.cc @@ -1,4 +1,4 @@ -#include +#include int main(int argc, char **argv) { diff --git a/examples/0036.at/stat.cc b/examples/0036.at/stat.cc index 737408a09..da7be6abd 100644 --- a/examples/0036.at/stat.cc +++ b/examples/0036.at/stat.cc @@ -1,4 +1,4 @@ -#include +#include int main(int argc, char **argv) { diff --git a/examples/0036.at/symlink.cc b/examples/0036.at/symlink.cc index b271fc2bb..b631f1455 100644 --- a/examples/0036.at/symlink.cc +++ b/examples/0036.at/symlink.cc @@ -1,4 +1,4 @@ -#include +#include int main(int argc, char **argv) { diff --git a/examples/0036.at/unlink.cc b/examples/0036.at/unlink.cc index 4b3908896..bb6cda215 100644 --- a/examples/0036.at/unlink.cc +++ b/examples/0036.at/unlink.cc @@ -1,4 +1,4 @@ -#include +#include int main(int argc, char **argv) { diff --git a/examples/0036.at/unlink_dir.cc b/examples/0036.at/unlink_dir.cc index 616b7c036..524849be0 100644 --- a/examples/0036.at/unlink_dir.cc +++ b/examples/0036.at/unlink_dir.cc @@ -1,4 +1,4 @@ -#include +#include int main(int argc, char **argv) { diff --git a/examples/0036.at/utime.cc b/examples/0036.at/utime.cc index 0b399bd1f..aa0974c41 100644 --- a/examples/0036.at/utime.cc +++ b/examples/0036.at/utime.cc @@ -1,4 +1,4 @@ -#include +#include #include int main(int argc, char **argv) diff --git a/include/fast_io_core_impl/operations/refs/buf.h b/include/fast_io_core_impl/operations/refs/buf.h index e81e849e4..eceaec124 100644 --- a/include/fast_io_core_impl/operations/refs/buf.h +++ b/include/fast_io_core_impl/operations/refs/buf.h @@ -1,4 +1,4 @@ -#pragma once +#pragma once namespace fast_io { diff --git a/include/fast_io_hosted/platforms/nt/nt_preliminary_definition.h b/include/fast_io_hosted/platforms/nt/nt_preliminary_definition.h index f5560fef2..852570765 100644 --- a/include/fast_io_hosted/platforms/nt/nt_preliminary_definition.h +++ b/include/fast_io_hosted/platforms/nt/nt_preliminary_definition.h @@ -1,4 +1,4 @@ -#pragma once +#pragma once #if defined(_MSC_VER) && !defined(_KERNEL_MODE) && !defined(_WIN32_WINDOWS) #pragma comment(lib, "ntdll.lib") diff --git a/include/fast_io_hosted/platforms/win32_io_redirection.h b/include/fast_io_hosted/platforms/win32_io_redirection.h index 043d40697..a137970b8 100644 --- a/include/fast_io_hosted/platforms/win32_io_redirection.h +++ b/include/fast_io_hosted/platforms/win32_io_redirection.h @@ -1,4 +1,4 @@ -#pragma once +#pragma once namespace fast_io { struct win32_io_redirection diff --git a/include/fast_io_hosted/process/ipc/basic.h b/include/fast_io_hosted/process/ipc/basic.h index b62b631d7..950109dc2 100644 --- a/include/fast_io_hosted/process/ipc/basic.h +++ b/include/fast_io_hosted/process/ipc/basic.h @@ -1,4 +1,4 @@ -#pragma once +#pragma once namespace fast_io { diff --git a/include/fast_io_hosted/process/ipc/native.h b/include/fast_io_hosted/process/ipc/native.h index 9e95554a0..337076962 100644 --- a/include/fast_io_hosted/process/ipc/native.h +++ b/include/fast_io_hosted/process/ipc/native.h @@ -1,2 +1,2 @@ -#pragma once +#pragma once #include "basic.h" diff --git a/include/fast_io_hosted/process/ipc/posix/eventfd.h b/include/fast_io_hosted/process/ipc/posix/eventfd.h index 6f70f09be..73b4b8665 100644 --- a/include/fast_io_hosted/process/ipc/posix/eventfd.h +++ b/include/fast_io_hosted/process/ipc/posix/eventfd.h @@ -1 +1 @@ -#pragma once +#pragma once diff --git a/include/fast_io_hosted/process/ipc/posix/named_pipe.h b/include/fast_io_hosted/process/ipc/posix/named_pipe.h index 6f70f09be..73b4b8665 100644 --- a/include/fast_io_hosted/process/ipc/posix/named_pipe.h +++ b/include/fast_io_hosted/process/ipc/posix/named_pipe.h @@ -1 +1 @@ -#pragma once +#pragma once diff --git a/include/fast_io_hosted/process/ipc/posix/unix_socket.h b/include/fast_io_hosted/process/ipc/posix/unix_socket.h index 6f70f09be..73b4b8665 100644 --- a/include/fast_io_hosted/process/ipc/posix/unix_socket.h +++ b/include/fast_io_hosted/process/ipc/posix/unix_socket.h @@ -1 +1 @@ -#pragma once +#pragma once diff --git a/include/fast_io_hosted/process/ipc/win32/alpc.h b/include/fast_io_hosted/process/ipc/win32/alpc.h index 166262cda..8760d7652 100644 --- a/include/fast_io_hosted/process/ipc/win32/alpc.h +++ b/include/fast_io_hosted/process/ipc/win32/alpc.h @@ -1,4 +1,4 @@ -#pragma once +#pragma once namespace fast_io { diff --git a/include/fast_io_hosted/process/ipc/win32/named_pipe.h b/include/fast_io_hosted/process/ipc/win32/named_pipe.h index 6f70f09be..73b4b8665 100644 --- a/include/fast_io_hosted/process/ipc/win32/named_pipe.h +++ b/include/fast_io_hosted/process/ipc/win32/named_pipe.h @@ -1 +1 @@ -#pragma once +#pragma once diff --git a/include/fast_io_hosted/process/ipc/win32/rpc.h b/include/fast_io_hosted/process/ipc/win32/rpc.h index 6f70f09be..73b4b8665 100644 --- a/include/fast_io_hosted/process/ipc/win32/rpc.h +++ b/include/fast_io_hosted/process/ipc/win32/rpc.h @@ -1 +1 @@ -#pragma once +#pragma once diff --git a/include/fast_io_hosted/process/process.h b/include/fast_io_hosted/process/process.h index 4312f60f4..d39008d1e 100644 --- a/include/fast_io_hosted/process/process.h +++ b/include/fast_io_hosted/process/process.h @@ -1,3 +1,3 @@ -#pragma once +#pragma once #include "process/native.h" #include "ipc/native.h" diff --git a/include/fast_io_hosted/process/process/arg_env.h b/include/fast_io_hosted/process/process/arg_env.h index 77c9c8558..a706f25c2 100644 --- a/include/fast_io_hosted/process/process/arg_env.h +++ b/include/fast_io_hosted/process/process/arg_env.h @@ -1,4 +1,4 @@ -#pragma once +#pragma once namespace fast_io { struct default_args_t diff --git a/include/fast_io_hosted/threads/iouring/nt.h b/include/fast_io_hosted/threads/iouring/nt.h index 6f70f09be..73b4b8665 100644 --- a/include/fast_io_hosted/threads/iouring/nt.h +++ b/include/fast_io_hosted/threads/iouring/nt.h @@ -1 +1 @@ -#pragma once +#pragma once diff --git a/include/fast_io_hosted/threads/iouring/posix.h b/include/fast_io_hosted/threads/iouring/posix.h index 6f70f09be..73b4b8665 100644 --- a/include/fast_io_hosted/threads/iouring/posix.h +++ b/include/fast_io_hosted/threads/iouring/posix.h @@ -1 +1 @@ -#pragma once +#pragma once diff --git a/include/fast_io_hosted/threads/iouring/simulatation.h b/include/fast_io_hosted/threads/iouring/simulatation.h index 6f70f09be..73b4b8665 100644 --- a/include/fast_io_hosted/threads/iouring/simulatation.h +++ b/include/fast_io_hosted/threads/iouring/simulatation.h @@ -1 +1 @@ -#pragma once +#pragma once diff --git a/include/fast_io_tools/install_path.h b/include/fast_io_tools/install_path.h index 80ab27e38..82f47c9f6 100644 --- a/include/fast_io_tools/install_path.h +++ b/include/fast_io_tools/install_path.h @@ -1,4 +1,4 @@ -#pragma once +#pragma once #include "../fast_io.h" #include "../fast_io_dsal/string_view.h" #include "../fast_io_dsal/string.h" diff --git a/include/fast_io_tools/install_path/install_path.h b/include/fast_io_tools/install_path/install_path.h index a1019e544..bc15da31d 100644 --- a/include/fast_io_tools/install_path/install_path.h +++ b/include/fast_io_tools/install_path/install_path.h @@ -1,4 +1,4 @@ -#pragma once +#pragma once namespace fast_io { diff --git a/include/fast_io_tools/install_path/method.h b/include/fast_io_tools/install_path/method.h index 4598b20d1..dea25b4bd 100644 --- a/include/fast_io_tools/install_path/method.h +++ b/include/fast_io_tools/install_path/method.h @@ -1,4 +1,4 @@ -#pragma once +#pragma once namespace fast_io { diff --git a/tests/0006.output_device/all_output_device.cc b/tests/0006.output_device/all_output_device.cc index 1806050dd..3d13d57e4 100644 --- a/tests/0006.output_device/all_output_device.cc +++ b/tests/0006.output_device/all_output_device.cc @@ -1,4 +1,4 @@ -#include +#include #include int main() { diff --git a/tests/0031.tpeb/teb.cc b/tests/0031.tpeb/teb.cc index 3d4421d64..672b3c332 100644 --- a/tests/0031.tpeb/teb.cc +++ b/tests/0031.tpeb/teb.cc @@ -1,4 +1,4 @@ -#include +#include #include int main() diff --git a/tests/0035.install_path/argv0_install_path.cc b/tests/0035.install_path/argv0_install_path.cc index 8197d6bce..0d632b1de 100644 --- a/tests/0035.install_path/argv0_install_path.cc +++ b/tests/0035.install_path/argv0_install_path.cc @@ -1,4 +1,4 @@ -#include +#include #include #include diff --git a/tests/0035.install_path/install_path.cc b/tests/0035.install_path/install_path.cc index c12486492..edad0d929 100644 --- a/tests/0035.install_path/install_path.cc +++ b/tests/0035.install_path/install_path.cc @@ -1,4 +1,4 @@ -#include +#include #include #include diff --git a/tests/0036.sto/sto.cc b/tests/0036.sto/sto.cc index 5a1f72cac..0f5038af6 100644 --- a/tests/0036.sto/sto.cc +++ b/tests/0036.sto/sto.cc @@ -1,4 +1,4 @@ -#include +#include int main(int argc, char** argv) {