diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-23 08:36:16 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-23 08:36:16 +0100 |
| commit | 0d197225d9c90123df67a752479f890de5ebe413 (patch) | |
| tree | f3c3363681cf69c1c468e2403d8cafa6b8eebf03 /include | |
| parent | 999dc83cac37efc109da4d562a8a75d1f6fc7c86 (diff) | |
feat: add newline to files.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include')
37 files changed, 37 insertions, 7 deletions
diff --git a/include/CompilerKit/AE.h b/include/CompilerKit/AE.h index e81ca64..211f596 100644 --- a/include/CompilerKit/AE.h +++ b/include/CompilerKit/AE.h @@ -135,4 +135,4 @@ class AEReadableProtocol final { }; } // namespace CompilerKit::Utils -#endif /* ifndef _NECTAR_AE_H_ */
\ No newline at end of file +#endif /* ifndef _NECTAR_AE_H_ */ diff --git a/include/CompilerKit/AST.h b/include/CompilerKit/AST.h index 579689d..a1957a4 100644 --- a/include/CompilerKit/AST.h +++ b/include/CompilerKit/AST.h @@ -162,3 +162,4 @@ class ICompilerFrontend { } // namespace CompilerKit #include <CompilerKit/AST.inl> + diff --git a/include/CompilerKit/AST.inl b/include/CompilerKit/AST.inl index 665d683..0fa8159 100644 --- a/include/CompilerKit/AST.inl +++ b/include/CompilerKit/AST.inl @@ -60,4 +60,4 @@ inline const char* ICompilerFrontend::Language() { inline bool ICompilerFrontend::IsValid() { return strcmp(this->Language(), kInvalidFrontend) > 0; } -} // namespace CompilerKit
\ No newline at end of file +} // namespace CompilerKit diff --git a/include/CompilerKit/CodeGenerator.h b/include/CompilerKit/CodeGenerator.h index 3dbbc1e..28e9534 100644 --- a/include/CompilerKit/CodeGenerator.h +++ b/include/CompilerKit/CodeGenerator.h @@ -234,3 +234,4 @@ class EncoderPowerPC final : public IAssemblyEncoder { #endif // __ASM_NEED_32x0__ } // namespace CompilerKit + diff --git a/include/CompilerKit/Detail/32x0.h b/include/CompilerKit/Detail/32x0.h index ce22761..0bd43ee 100644 --- a/include/CompilerKit/Detail/32x0.h +++ b/include/CompilerKit/Detail/32x0.h @@ -92,3 +92,4 @@ inline std::vector<CpuCode32x0> kOpcodes32x0 = { // ENABLE INTERRUPTS //////////////////////////////// + diff --git a/include/CompilerKit/Detail/64x0.h b/include/CompilerKit/Detail/64x0.h index 23a0542..b7fca8a 100644 --- a/include/CompilerKit/Detail/64x0.h +++ b/include/CompilerKit/Detail/64x0.h @@ -98,3 +98,4 @@ inline std::vector<CpuOpcode64x0> kOpcodes64x0 = { // ENABLE INTERRUPTS //////////////////////////////// + diff --git a/include/CompilerKit/Detail/AMD64.h b/include/CompilerKit/Detail/AMD64.h index a4294ee..4bc469a 100644 --- a/include/CompilerKit/Detail/AMD64.h +++ b/include/CompilerKit/Detail/AMD64.h @@ -48,3 +48,4 @@ inline std::vector<CpuOpcodeAMD64> kOpcodesAMD64 = { CK_ASM_OPCODE("syscall", 0x0F) CK_ASM_OPCODE("xor", 0x48)}; #define kAsmRegisterLimit 16 + diff --git a/include/CompilerKit/Detail/Aarch64.h b/include/CompilerKit/Detail/Aarch64.h index 7b39e8b..fdfd2d9 100644 --- a/include/CompilerKit/Detail/Aarch64.h +++ b/include/CompilerKit/Detail/Aarch64.h @@ -39,3 +39,4 @@ typedef struct { #define kAsmRegisterLimit (30) #define kAsmRegisterPrefix "x" #define kOpcodeARM64Count (1000) + diff --git a/include/CompilerKit/Detail/Config.h b/include/CompilerKit/Detail/Config.h index 79bc7fc..77ea0d8 100644 --- a/include/CompilerKit/Detail/Config.h +++ b/include/CompilerKit/Detail/Config.h @@ -64,4 +64,4 @@ inline bool install_signal(Int32 signal, void (*handler)(int)) noexcept { } } // namespace CompilerKit -#endif // __COMPILERKIT_CONFIG_H__
\ No newline at end of file +#endif // __COMPILERKIT_CONFIG_H__ diff --git a/include/CompilerKit/Detail/Power64.h b/include/CompilerKit/Detail/Power64.h index 7c7f67c..c3c15c4 100644 --- a/include/CompilerKit/Detail/Power64.h +++ b/include/CompilerKit/Detail/Power64.h @@ -1555,3 +1555,4 @@ inline CpuOpcodePPC kOpcodesPowerPC[] = { /* return address register */ #define kAsmRetRegister 19 + diff --git a/include/CompilerKit/Detail/PreConfig.h b/include/CompilerKit/Detail/PreConfig.h index b70bb6d..1457ffd 100644 --- a/include/CompilerKit/Detail/PreConfig.h +++ b/include/CompilerKit/Detail/PreConfig.h @@ -121,4 +121,4 @@ #define CK_IMPORT_C extern "C" #define CK_IMPORT extern -#endif // __COMPILERKIT_PRECONFIG_H__
\ No newline at end of file +#endif // __COMPILERKIT_PRECONFIG_H__ diff --git a/include/CompilerKit/ErrorID.h b/include/CompilerKit/ErrorID.h index 383336c..1424014 100644 --- a/include/CompilerKit/ErrorID.h +++ b/include/CompilerKit/ErrorID.h @@ -27,3 +27,4 @@ #define NECTAR_UNIMPLEMENTED -36 #define NECTAR_FAT_ERROR -37 #define NECTAR_INVALID_ARCH -38 + diff --git a/include/CompilerKit/ErrorOr.h b/include/CompilerKit/ErrorOr.h index 6fe3288..385cec4 100644 --- a/include/CompilerKit/ErrorOr.h +++ b/include/CompilerKit/ErrorOr.h @@ -54,3 +54,4 @@ class ErrorOr final { using ErrorOrAny = ErrorOr<VoidPtr>; using ErrorOrString = ErrorOr<STLString>; } // namespace CompilerKit + diff --git a/include/CompilerKit/Macros.h b/include/CompilerKit/Macros.h index ccba8f7..d60d90a 100644 --- a/include/CompilerKit/Macros.h +++ b/include/CompilerKit/Macros.h @@ -26,3 +26,4 @@ KLASS(KLASS&&) = default; #endif /* ifndef _NECTAR_MACROS_H_ */ + diff --git a/include/CompilerKit/PEF.h b/include/CompilerKit/PEF.h index 32d799c..ae3979c 100644 --- a/include/CompilerKit/PEF.h +++ b/include/CompilerKit/PEF.h @@ -136,3 +136,4 @@ inline std::ifstream& operator>>(std::ifstream& fp, CompilerKit::PEFCommandHeade fp.read((char*) &container, sizeof(CompilerKit::PEFCommandHeader)); return fp; } + diff --git a/include/CompilerKit/Ref.h b/include/CompilerKit/Ref.h index 3cdac83..400f9f8 100644 --- a/include/CompilerKit/Ref.h +++ b/include/CompilerKit/Ref.h @@ -96,3 +96,4 @@ class NonNullRef final { using StrongAny = StrongRef<VoidPtr>; using WeakAny = WeakRef<VoidPtr>; } // namespace CompilerKit + diff --git a/include/CompilerKit/UUID.h b/include/CompilerKit/UUID.h index 2993b8b..409223a 100644 --- a/include/CompilerKit/UUID.h +++ b/include/CompilerKit/UUID.h @@ -824,3 +824,4 @@ struct hash<uuids::uuid> { } // namespace std #endif /* STDUUID_H */ + diff --git a/include/CompilerKit/Utilities/Assembler.h b/include/CompilerKit/Utilities/Assembler.h index 2cb5e25..e13f1af 100644 --- a/include/CompilerKit/Utilities/Assembler.h +++ b/include/CompilerKit/Utilities/Assembler.h @@ -93,4 +93,4 @@ inline NumberCast32 GetNumber32(STLString lineBuffer, STLString numberKey) { } } } -} // namespace CompilerKit
\ No newline at end of file +} // namespace CompilerKit diff --git a/include/CompilerKit/Utilities/Compiler.h b/include/CompilerKit/Utilities/Compiler.h index dd9dbfc..94060ea 100644 --- a/include/CompilerKit/Utilities/Compiler.h +++ b/include/CompilerKit/Utilities/Compiler.h @@ -119,3 +119,4 @@ inline void drvi_crash_handler(std::int32_t id) { std::exit(NECTAR_EXEC_ERROR); } } // namespace CompilerKit::Detail + diff --git a/include/CompilerKit/Utilities/DLL.h b/include/CompilerKit/Utilities/DLL.h index 130ccb0..c6fcd49 100644 --- a/include/CompilerKit/Utilities/DLL.h +++ b/include/CompilerKit/Utilities/DLL.h @@ -67,3 +67,4 @@ class DLLLoader final { } }; } // namespace CompilerKit + diff --git a/include/CompilerKit/XCOFF.h b/include/CompilerKit/XCOFF.h index 3ad680f..2e796ab 100644 --- a/include/CompilerKit/XCOFF.h +++ b/include/CompilerKit/XCOFF.h @@ -41,3 +41,4 @@ typedef struct XCoffFileHeader* XCoffFileHeaderPtr; } // namespace CompilerKit #endif // ifndef _NECTAR_XCOFF_H_ + diff --git a/include/DebuggerKit/Common.inl b/include/DebuggerKit/Common.inl index 9265e97..d88e578 100644 --- a/include/DebuggerKit/Common.inl +++ b/include/DebuggerKit/Common.inl @@ -21,3 +21,4 @@ inline DebuggerKit::POSIX::POSIXMachContract kUserDebugger; static DebuggerKit::ProcessID kPID = 0L; static DebuggerKit::CAddress kActiveAddress = nullptr; static CompilerKit::STLString kPath = ""; + diff --git a/include/DebuggerKit/DebuggerContract.h b/include/DebuggerKit/DebuggerContract.h index 1e4f7b1..4f02b90 100644 --- a/include/DebuggerKit/DebuggerContract.h +++ b/include/DebuggerKit/DebuggerContract.h @@ -43,3 +43,4 @@ class IDebuggerContract { BreakpointMap mBreakpoints; }; } // namespace DebuggerKit + diff --git a/include/DebuggerKit/Detail/Config.h b/include/DebuggerKit/Detail/Config.h index b8b0cde..4437e8a 100644 --- a/include/DebuggerKit/Detail/Config.h +++ b/include/DebuggerKit/Detail/Config.h @@ -63,4 +63,4 @@ namespace Detail { constexpr auto kDebugEnd = '\r'; using dk_socket_type = int64_t; } // namespace Detail -} // namespace DebuggerKit
\ No newline at end of file +} // namespace DebuggerKit diff --git a/include/DebuggerKit/NeKernelContract.h b/include/DebuggerKit/NeKernelContract.h index 505cae9..4d703e2 100644 --- a/include/DebuggerKit/NeKernelContract.h +++ b/include/DebuggerKit/NeKernelContract.h @@ -48,3 +48,4 @@ class NeKernelContract final DK_DEBUGGER_CONTRACT { #endif // ifdef DK_NEKERNEL_DEBUGGER #endif // DK_NEKERNEL_CONTRACT_H + diff --git a/include/DebuggerKit/POSIXMachContract.h b/include/DebuggerKit/POSIXMachContract.h index a8cba12..438eae0 100644 --- a/include/DebuggerKit/POSIXMachContract.h +++ b/include/DebuggerKit/POSIXMachContract.h @@ -153,3 +153,4 @@ class POSIXMachContract final DK_DEBUGGER_CONTRACT { } // namespace DebuggerKit::POSIX #endif + diff --git a/include/LibC++/__abi.h b/include/LibC++/__abi.h index 80a0398..e63b9b5 100644 --- a/include/LibC++/__abi.h +++ b/include/LibC++/__abi.h @@ -19,4 +19,4 @@ inline void __compilerkit_unreachable(void) { while (1); } -__fini_decl()
\ No newline at end of file +__fini_decl() diff --git a/include/LibC++/__power64.inc b/include/LibC++/__power64.inc index 8a189ae..8b65ad7 100644 --- a/include/LibC++/__power64.inc +++ b/include/LibC++/__power64.inc @@ -37,3 +37,4 @@ #endif #endif + diff --git a/include/LibC++/base_alloc.h b/include/LibC++/base_alloc.h index cd95806..96a8161 100644 --- a/include/LibC++/base_alloc.h +++ b/include/LibC++/base_alloc.h @@ -41,3 +41,4 @@ inline void release_nothrow(KindClass ptr) noexcept { release(ptr); } } // namespace std::base_alloc + diff --git a/include/LibC++/base_exception.h b/include/LibC++/base_exception.h index 0f81431..571e244 100644 --- a/include/LibC++/base_exception.h +++ b/include/LibC++/base_exception.h @@ -35,3 +35,4 @@ inline void __throw_bad_array_new_length(const char* what) { __builtin_unreachable(); // prevent from continuing. } } // namespace std::base_exception::abi + diff --git a/include/LibC++/base_math.h b/include/LibC++/base_math.h index 22c9ab9..c9f390d 100644 --- a/include/LibC++/base_math.h +++ b/include/LibC++/base_math.h @@ -96,3 +96,4 @@ typename<class Result> using callable_type = Result (*)(size_t n, ...); #ifdef __cpp_lib_base_math #define __cpp_lib_base_math 1 #endif + diff --git a/include/LibC++/base_process.h b/include/LibC++/base_process.h index 8fbe7b7..a3e3147 100644 --- a/include/LibC++/base_process.h +++ b/include/LibC++/base_process.h @@ -43,3 +43,4 @@ __fini_decl() return -1; } } // namespace std::base_process + diff --git a/include/LibC++/defines.h b/include/LibC++/defines.h index d6a5369..c631a4a 100644 --- a/include/LibC++/defines.h +++ b/include/LibC++/defines.h @@ -79,3 +79,4 @@ struct nothrow_t; } // namespace std #endif /* __NECTAR_DEFINES_H__ */ + diff --git a/include/LibC++/filesystem.h b/include/LibC++/filesystem.h index 91218e8..d3030b6 100644 --- a/include/LibC++/filesystem.h +++ b/include/LibC++/filesystem.h @@ -22,3 +22,4 @@ class directory_iterator; #endif #endif // __NECTAR_FS_H__ + diff --git a/include/LibC++/make-stdcpp-hdrs.sh b/include/LibC++/make-stdcpp-hdrs.sh index 880f227..09d5616 100755 --- a/include/LibC++/make-stdcpp-hdrs.sh +++ b/include/LibC++/make-stdcpp-hdrs.sh @@ -11,3 +11,4 @@ baseName=`echo $f | cut -d "." -f 1` cp $f $outputDir$baseName done + diff --git a/include/LibC++/new.h b/include/LibC++/new.h index db25b82..111e1aa 100644 --- a/include/LibC++/new.h +++ b/include/LibC++/new.h @@ -63,3 +63,4 @@ void operator delete(void*) noexcept; void operator delete(void*, size_t) noexcept; void operator delete[](void*) noexcept; + diff --git a/include/LibC++/utility.h b/include/LibC++/utility.h index 0ee2735..b56e95f 100644 --- a/include/LibC++/utility.h +++ b/include/LibC++/utility.h @@ -28,3 +28,4 @@ inline auto move(Args&& arg) -> Args&& { } // namespace std #endif // LIBCXX_UTILITY_H + |
