diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-18 06:42:53 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-18 06:42:53 +0100 |
| commit | a3887b0695ffc83d2541d2ad8124e0d02f45ceae (patch) | |
| tree | 8ecc0e38c845a85d3d9fb77a3aa81369f7837734 /dev/CompilerKit/src/Frontend | |
| parent | 233d0343265ccda26ad06bfe52acdb1d12489bf4 (diff) | |
fix: meta: codebase improvements.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/CompilerKit/src/Frontend')
4 files changed, 13 insertions, 13 deletions
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. |
