From a3887b0695ffc83d2541d2ad8124e0d02f45ceae Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 18 Nov 2025 06:42:53 +0100 Subject: fix: meta: codebase improvements. Signed-off-by: Amlal El Mahrouss --- dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc') 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> fOffsets; }; @@ -86,8 +86,8 @@ struct CompilerStructMap final { struct CompilerState final { std::vector fStackMapVector; std::vector fStructMapVector; - CompilerKit::STLString fLastFile; - CompilerKit::STLString fLastError; + CompilerKit::STLString fLastFile{}; + CompilerKit::STLString fLastError{}; }; /// @brief prints an error into stdout. -- cgit v1.2.3