summaryrefslogtreecommitdiffhomepage
path: root/dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-18 08:48:32 +0100
committerGitHub <noreply@github.com>2025-11-18 08:48:32 +0100
commit4a0e2c718ffafa56d188a637b9180e2b2408101e (patch)
tree67a467f00496bbd544c00f8d0dfcc98fe4c230d2 /dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc
parent903b913503630d12a6b3b71a0be28b48b1b9f3d5 (diff)
parente2bb97abab728e8af5ee4a55cbf838e77c61dfb1 (diff)
Merge pull request #20 from nekernel-org/dev
License and name fixes.
Diffstat (limited to 'dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc')
-rw-r--r--dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc14
1 files changed, 7 insertions, 7 deletions
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.