diff options
| author | Amlal <amlal@nekernel.org> | 2025-04-25 13:14:01 +0200 |
|---|---|---|
| committer | Amlal <amlal@nekernel.org> | 2025-04-25 13:14:01 +0200 |
| commit | 20042235d1f53ae428aa154e64afdbae5d8d91ad (patch) | |
| tree | 6ea42d1b30505a57301f8ff2916c78ce94ff6eaf /tools/cppdrv.cc | |
| parent | 0561a8d0a6ae7588309a6e3513bbfeeef5f0aa15 (diff) | |
meta: update .clang-format, format codebase.
Signed-off-by: Amlal <amlal@nekernel.org>
Diffstat (limited to 'tools/cppdrv.cc')
| -rw-r--r-- | tools/cppdrv.cc | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/tools/cppdrv.cc b/tools/cppdrv.cc index 72cfb36..8b6238b 100644 --- a/tools/cppdrv.cc +++ b/tools/cppdrv.cc @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2024-2025 Amlal EL Mahrous, all rights reserved + Copyright (C) 2024-2025 Amlal EL Mahrous, all rights reserved ------------------------------------------- */ @@ -10,21 +10,18 @@ #include <LibCompiler/Defines.h> #include <LibCompiler/ErrorID.h> #include <LibCompiler/Version.h> -#include <iostream> #include <cstring> +#include <iostream> #include <vector> LC_IMPORT_C int CPlusPlusPreprocessorMain(int argc, char const* argv[]); -int main(int argc, char const* argv[]) -{ - if (auto code = CPlusPlusPreprocessorMain(2, argv); - code > 0) - { - std::printf("cppdrv: preprocessor exited with code %i.\n", code); +int main(int argc, char const* argv[]) { + if (auto code = CPlusPlusPreprocessorMain(2, argv); code > 0) { + std::printf("cppdrv: preprocessor exited with code %i.\n", code); - return LIBCOMPILER_EXEC_ERROR; - } + return LIBCOMPILER_EXEC_ERROR; + } - return LIBCOMPILER_SUCCESSS; + return LIBCOMPILER_SUCCESSS; }
\ No newline at end of file |
