diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-18 08:48:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-18 08:48:32 +0100 |
| commit | 4a0e2c718ffafa56d188a637b9180e2b2408101e (patch) | |
| tree | 67a467f00496bbd544c00f8d0dfcc98fe4c230d2 /dev/CompilerKit | |
| parent | 903b913503630d12a6b3b71a0be28b48b1b9f3d5 (diff) | |
| parent | e2bb97abab728e8af5ee4a55cbf838e77c61dfb1 (diff) | |
Merge pull request #20 from nekernel-org/dev
License and name fixes.
Diffstat (limited to 'dev/CompilerKit')
| -rw-r--r-- | dev/CompilerKit/Ref.h | 4 | ||||
| -rw-r--r-- | dev/CompilerKit/src/Backend/Assembler32x0.cc | 2 | ||||
| -rw-r--r-- | dev/CompilerKit/src/Backend/Assembler64x0.cc | 2 | ||||
| -rw-r--r-- | dev/CompilerKit/src/Backend/AssemblerAMD64.cc | 2 | ||||
| -rw-r--r-- | dev/CompilerKit/src/Backend/AssemblerARM64.cc | 2 | ||||
| -rw-r--r-- | dev/CompilerKit/src/Backend/AssemblerPowerPC.cc | 2 | ||||
| -rw-r--r-- | dev/CompilerKit/src/Frontend/CCompiler64x0.cc | 4 | ||||
| -rw-r--r-- | dev/CompilerKit/src/Frontend/CCompilerARM64.cc | 4 | ||||
| -rw-r--r-- | dev/CompilerKit/src/Frontend/CCompilerPower64.cc | 4 | ||||
| -rw-r--r-- | dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc | 14 | ||||
| -rw-r--r-- | dev/CompilerKit/src/Linker/DynamicLinker64PEF.cc | 2 | ||||
| -rw-r--r-- | dev/CompilerKit/src/Macro/CPlusPlusPreprocessor.cc | 2 |
12 files changed, 22 insertions, 22 deletions
diff --git a/dev/CompilerKit/Ref.h b/dev/CompilerKit/Ref.h index 5869644..01b7d96 100644 --- a/dev/CompilerKit/Ref.h +++ b/dev/CompilerKit/Ref.h @@ -13,7 +13,7 @@ #include <CompilerKit/Defines.h> namespace CompilerKit { -/// @author El Mahrouss Amlal +/// @author Amlal El Mahrouss /// @brief Reference holder class, refers to a pointer of data in static memory. template <typename T> class Ref final { @@ -54,7 +54,7 @@ class Ref final { Bool m_Strong{false}; }; -// @author El Mahrouss Amlal +// @author Amlal El Mahrouss // @brief Non null Reference holder class, refers to a pointer of data in static memory. template <typename T> class NonNullRef final { diff --git a/dev/CompilerKit/src/Backend/Assembler32x0.cc b/dev/CompilerKit/src/Backend/Assembler32x0.cc index e85a510..0f94920 100644 --- a/dev/CompilerKit/src/Backend/Assembler32x0.cc +++ b/dev/CompilerKit/src/Backend/Assembler32x0.cc @@ -9,7 +9,7 @@ ///////////////////////////////////////////////////////////////////////////////////////// // @file 32asm.cc -// @author El Mahrouss Amlal +// @author Amlal El Mahrouss // @brief 32x0 Assembler. // REMINDER: when dealing with an undefined symbol use (string diff --git a/dev/CompilerKit/src/Backend/Assembler64x0.cc b/dev/CompilerKit/src/Backend/Assembler64x0.cc index d0cf327..23eeeb7 100644 --- a/dev/CompilerKit/src/Backend/Assembler64x0.cc +++ b/dev/CompilerKit/src/Backend/Assembler64x0.cc @@ -9,7 +9,7 @@ ///////////////////////////////////////////////////////////////////////////////////////// // @file Assembler64x0.cc -// @author El Mahrouss Amlal +// @author Amlal El Mahrouss // @brief 64x000 Assembler. // REMINDER: when dealing with an undefined symbol use (string diff --git a/dev/CompilerKit/src/Backend/AssemblerAMD64.cc b/dev/CompilerKit/src/Backend/AssemblerAMD64.cc index c684a07..48e1e9c 100644 --- a/dev/CompilerKit/src/Backend/AssemblerAMD64.cc +++ b/dev/CompilerKit/src/Backend/AssemblerAMD64.cc @@ -7,7 +7,7 @@ ///////////////////////////////////////////////////////////////////////////////////////// /// @file AssemblerAMD64.cc -/// @author El Mahrouss Amlal +/// @author Amlal El Mahrouss /// @brief AMD64 Assembler. /// REMINDER: when dealing with an undefined symbol use (string /// size):LinkerFindSymbol:(string) so that ld will look for it. diff --git a/dev/CompilerKit/src/Backend/AssemblerARM64.cc b/dev/CompilerKit/src/Backend/AssemblerARM64.cc index 0cb7540..d7fb1d3 100644 --- a/dev/CompilerKit/src/Backend/AssemblerARM64.cc +++ b/dev/CompilerKit/src/Backend/AssemblerARM64.cc @@ -7,7 +7,7 @@ ///////////////////////////////////////////////////////////////////////////////////////// /// @file AssemblerARM64.cc -/// @author El Mahrouss Amlal +/// @author Amlal El Mahrouss /// @brief 'ACORN' Assembler. /// REMINDER: when dealing with an undefined symbol use (string diff --git a/dev/CompilerKit/src/Backend/AssemblerPowerPC.cc b/dev/CompilerKit/src/Backend/AssemblerPowerPC.cc index 084e1fe..3ec3357 100644 --- a/dev/CompilerKit/src/Backend/AssemblerPowerPC.cc +++ b/dev/CompilerKit/src/Backend/AssemblerPowerPC.cc @@ -7,7 +7,7 @@ ///////////////////////////////////////////////////////////////////////////////////////// /// @file AssemblerPower.cc -/// @author El Mahrouss Amlal +/// @author Amlal El Mahrouss /// @brief POWER Assembler. /// REMINDER: when dealing with an undefined symbol use (string diff --git a/dev/CompilerKit/src/Frontend/CCompiler64x0.cc b/dev/CompilerKit/src/Frontend/CCompiler64x0.cc index ec72570..804e1a1 100644 --- a/dev/CompilerKit/src/Frontend/CCompiler64x0.cc +++ b/dev/CompilerKit/src/Frontend/CCompiler64x0.cc @@ -27,7 +27,7 @@ /* This is part of the CompilerKit. */ /* (c) Amlal El Mahrouss */ -/// @author El Mahrouss Amlal (amlel) +/// @author Amlal El Mahrouss (amlal@nekernel.org) /// @file 64x0-cc.cc /// @brief 64x0 C Compiler. @@ -59,7 +59,7 @@ struct CompilerRegisterMap final { }; // \brief Map for C structs -// \author amlel +// \author amlal@nekernel.org struct CompilerStructMap final { // 'my_foo' std::string fName; diff --git a/dev/CompilerKit/src/Frontend/CCompilerARM64.cc b/dev/CompilerKit/src/Frontend/CCompilerARM64.cc index 9d1fd87..c9fee19 100644 --- a/dev/CompilerKit/src/Frontend/CCompilerARM64.cc +++ b/dev/CompilerKit/src/Frontend/CCompilerARM64.cc @@ -28,7 +28,7 @@ /* This is part of the CompilerKit. */ /* (c) Amlal El Mahrouss */ -/// @author El Mahrouss Amlal (amlel) +/// @author Amlal El Mahrouss (amlal@nekernel.org) /// @file ARM64-cc.cc /// @brief ARM64 C Compiler. @@ -60,7 +60,7 @@ struct CompilerRegisterMap final { }; // \brief Map for C structs -// \author amlel +// \author amlal@nekernel.org struct CompilerStructMap final { // 'my_foo' std::string fName; diff --git a/dev/CompilerKit/src/Frontend/CCompilerPower64.cc b/dev/CompilerKit/src/Frontend/CCompilerPower64.cc index 6cdfc09..80d88dc 100644 --- a/dev/CompilerKit/src/Frontend/CCompilerPower64.cc +++ b/dev/CompilerKit/src/Frontend/CCompilerPower64.cc @@ -22,7 +22,7 @@ #define kExitOK 0 -/// @author El Mahrouss Amlal (amlal@nekernel.org) +/// @author Amlal El Mahrouss (amlal@nekernel.org) /// @file cc.cc /// @brief POWER64 C Compiler. @@ -50,7 +50,7 @@ struct CompilerRegisterMap final { }; // \brief Map for C structs -// \author amlel +// \author amlal@nekernel.org struct CompilerStructMap final { /// 'struct::my_foo' std::string fName; diff --git a/dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc b/dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc index bf6ece0..7c761f4 100644 --- a/dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc +++ b/dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc @@ -43,7 +43,7 @@ /* This is part of the CompilerKit. */ /* (c) Amlal El Mahrouss 2024-2025 */ -/// @author El Mahrouss Amlal (amlal@nekernel.org) +/// @author Amlal El Mahrouss (amlal@nekernel.org) /// @file CPlusPlusCompilerAMD64.cxx /// @brief Optimized C++ Compiler Driver. @@ -71,14 +71,14 @@ std::filesystem::path necti_expand_home(const std::filesystem::path& input) { } struct CompilerRegisterMap final { - CompilerKit::STLString fName; - CompilerKit::STLString fReg; + CompilerKit::STLString fName{}; + CompilerKit::STLString fReg{}; }; /// \brief Offset based struct/class struct CompilerStructMap final { - CompilerKit::STLString fName; - CompilerKit::STLString fReg; + CompilerKit::STLString fName{}; + CompilerKit::STLString fReg{}; std::vector<std::pair<UInt32, CompilerKit::STLString>> fOffsets; }; @@ -86,8 +86,8 @@ struct CompilerStructMap final { struct CompilerState final { std::vector<CompilerRegisterMap> fStackMapVector; std::vector<CompilerStructMap> fStructMapVector; - CompilerKit::STLString fLastFile; - CompilerKit::STLString fLastError; + CompilerKit::STLString fLastFile{}; + CompilerKit::STLString fLastError{}; }; /// @brief prints an error into stdout. diff --git a/dev/CompilerKit/src/Linker/DynamicLinker64PEF.cc b/dev/CompilerKit/src/Linker/DynamicLinker64PEF.cc index 93f7919..23bad66 100644 --- a/dev/CompilerKit/src/Linker/DynamicLinker64PEF.cc +++ b/dev/CompilerKit/src/Linker/DynamicLinker64PEF.cc @@ -7,7 +7,7 @@ ------------------------------------------- */ -/// @author El Mahrouss Amlal (amlal@nekernel.org) +/// @author Amlal El Mahrouss (amlal@nekernel.org) /// @brief NeKernel.org 64-bit PEF Linker. /// Last Rev: Sat Apr 19 CET 2025 /// @note Do not look up for anything with .code64/.data64/.zero64! diff --git a/dev/CompilerKit/src/Macro/CPlusPlusPreprocessor.cc b/dev/CompilerKit/src/Macro/CPlusPlusPreprocessor.cc index fa5b043..8163c40 100644 --- a/dev/CompilerKit/src/Macro/CPlusPlusPreprocessor.cc +++ b/dev/CompilerKit/src/Macro/CPlusPlusPreprocessor.cc @@ -20,7 +20,7 @@ #define kMacroPrefix '#' -/// @author El Mahrouss Amlal (amlel) +/// @author Amlal El Mahrouss (amlal@nekernel.org) /// @file CPlusPlusPreprocessor.cc /// @brief Preprocessor. |
