summaryrefslogtreecommitdiffhomepage
path: root/dev
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-11-07 14:35:36 +0100
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-11-07 14:35:36 +0100
commita256248ceb9457560902fd5861b533ae85a92016 (patch)
tree8f2b14faf14e55beb265c4cafa719a53b3cd8d1a /dev
parent3bcd40fefc2d1418f8eaf259c2e2f0561fb214e6 (diff)
Rename original @author to Amlal EL Mahrouss due to bad refactoring.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'dev')
-rw-r--r--dev/ToolchainKit/NFC/Ref.h4
-rw-r--r--dev/ToolchainKit/src/Assembler32x0.cc2
-rw-r--r--dev/ToolchainKit/src/Assembler64x0.cc2
-rw-r--r--dev/ToolchainKit/src/AssemblerAMD64.cc2
-rw-r--r--dev/ToolchainKit/src/AssemblerPower.cc2
-rw-r--r--dev/ToolchainKit/src/CCompiler64x0.cc2
-rw-r--r--dev/ToolchainKit/src/CCompilerPower64.cc2
-rw-r--r--dev/ToolchainKit/src/CPlusPlusCompilerAMD64.cc14
-rw-r--r--dev/ToolchainKit/src/CPlusPlusCompilerPreProcessor.cc2
-rw-r--r--dev/ToolchainKit/src/Linker64.cc2
10 files changed, 17 insertions, 17 deletions
diff --git a/dev/ToolchainKit/NFC/Ref.h b/dev/ToolchainKit/NFC/Ref.h
index 599f866..589a0cc 100644
--- a/dev/ToolchainKit/NFC/Ref.h
+++ b/dev/ToolchainKit/NFC/Ref.h
@@ -14,7 +14,7 @@
namespace ToolchainKit
{
- // @author EL Mahrouss Logic
+ // @author EL Mahrouss Amlal
// @brief Reference holder class, refers to a pointer of data in static memory.
template <typename T>
class Ref final
@@ -75,7 +75,7 @@ namespace ToolchainKit
Bool m_Strong{false};
};
- // @author EL Mahrouss Logic
+ // @author EL Mahrouss Amlal
// @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/ToolchainKit/src/Assembler32x0.cc b/dev/ToolchainKit/src/Assembler32x0.cc
index 4db8606..a1cfc0a 100644
--- a/dev/ToolchainKit/src/Assembler32x0.cc
+++ b/dev/ToolchainKit/src/Assembler32x0.cc
@@ -9,7 +9,7 @@
/////////////////////////////////////////////////////////////////////////////////////////
// @file 32asm.cxx
-// @author EL Mahrouss Logic
+// @author EL Mahrouss Amlal
// @brief 32x0 Assembler.
// REMINDER: when dealing with an undefined symbol use (string
diff --git a/dev/ToolchainKit/src/Assembler64x0.cc b/dev/ToolchainKit/src/Assembler64x0.cc
index cf4347f..141874e 100644
--- a/dev/ToolchainKit/src/Assembler64x0.cc
+++ b/dev/ToolchainKit/src/Assembler64x0.cc
@@ -9,7 +9,7 @@
/////////////////////////////////////////////////////////////////////////////////////////
// @file Assembler64x0.cxx
-// @author EL Mahrouss Logic
+// @author EL Mahrouss Amlal
// @brief 64x000 Assembler.
// REMINDER: when dealing with an undefined symbol use (string
diff --git a/dev/ToolchainKit/src/AssemblerAMD64.cc b/dev/ToolchainKit/src/AssemblerAMD64.cc
index eb5d44b..80d37a0 100644
--- a/dev/ToolchainKit/src/AssemblerAMD64.cc
+++ b/dev/ToolchainKit/src/AssemblerAMD64.cc
@@ -7,7 +7,7 @@
/////////////////////////////////////////////////////////////////////////////////////////
/// @file AssemblerAMD64.cc
-/// @author EL Mahrouss Logic
+/// @author EL Mahrouss Amlal
/// @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/ToolchainKit/src/AssemblerPower.cc b/dev/ToolchainKit/src/AssemblerPower.cc
index 4182bb4..800da61 100644
--- a/dev/ToolchainKit/src/AssemblerPower.cc
+++ b/dev/ToolchainKit/src/AssemblerPower.cc
@@ -7,7 +7,7 @@
/////////////////////////////////////////////////////////////////////////////////////////
/// @file AssemblerPower.cxx
-/// @author EL Mahrouss Logic
+/// @author EL Mahrouss Amlal
/// @brief POWER Assembler.
/// REMINDER: when dealing with an undefined symbol use (string
diff --git a/dev/ToolchainKit/src/CCompiler64x0.cc b/dev/ToolchainKit/src/CCompiler64x0.cc
index 490d136..7fa29bd 100644
--- a/dev/ToolchainKit/src/CCompiler64x0.cc
+++ b/dev/ToolchainKit/src/CCompiler64x0.cc
@@ -27,7 +27,7 @@
/* This is part of the ToolchainKit. */
/* (c) EL Mahrouss Logic */
-/// @author EL Mahrouss Logic (amlel)
+/// @author EL Mahrouss Amlal (amlel)
/// @file 64x0-cc.cxx
/// @brief 64x0 C Compiler.
diff --git a/dev/ToolchainKit/src/CCompilerPower64.cc b/dev/ToolchainKit/src/CCompilerPower64.cc
index e39672d..c91bd38 100644
--- a/dev/ToolchainKit/src/CCompilerPower64.cc
+++ b/dev/ToolchainKit/src/CCompilerPower64.cc
@@ -22,7 +22,7 @@
#define kExitOK 0
-/// @author EL Mahrouss Logic (amlel)
+/// @author EL Mahrouss Amlal (amlel)
/// @file cc.cxx
/// @brief POWER64 C Compiler.
diff --git a/dev/ToolchainKit/src/CPlusPlusCompilerAMD64.cc b/dev/ToolchainKit/src/CPlusPlusCompilerAMD64.cc
index 68b12e3..7eeeb6d 100644
--- a/dev/ToolchainKit/src/CPlusPlusCompilerAMD64.cc
+++ b/dev/ToolchainKit/src/CPlusPlusCompilerAMD64.cc
@@ -17,17 +17,17 @@
#define kSplashCxx() \
kPrintF(kWhite "%s\n", "ZKA C++ Compiler Driver, (c) 2024 EL Mahrouss Logic, all rights reserved.")
-// extern_segment, @MLAutoRelease { ... }, fn foo() -> auto { ... }
+// extern_segment, @autodelete { ... }, fn foo() -> auto { ... }
#include <ToolchainKit/AAL/CPU/amd64.h>
#include <ToolchainKit/Parser.h>
#include <ToolchainKit/UUID.h>
-/* ZKA C++ Compiler driver */
+/* ZKA C++ Compiler */
/* This is part of the ToolchainKit. */
/* (c) EL Mahrouss Logic */
-/// @author EL Mahrouss Logic (amlel)
+/// @author EL Mahrouss Amlal (amlel)
/// @file CPlusPlusCompilerAMD64.cxx
/// @brief Optimized C++ Compiler Driver.
/// @todo Throw error for scoped inside scoped variables when they get referenced outside.
@@ -73,9 +73,9 @@ namespace detail
struct CompilerState final
{
- std::vector<CompilerRegisterMap> kStackFrame;
- std::vector<CompilerStructMap> kStructMap;
- ToolchainKit::SyntaxLeafList* fSyntaxTree{nullptr};
+ std::vector<CompilerRegisterMap> fStackMapVector;
+ std::vector<CompilerStructMap> fStructMapVector;
+ ToolchainKit::SyntaxLeafList* fSyntaxTree{nullptr};
std::unique_ptr<std::ofstream> fOutputAssembly;
std::string fLastFile;
std::string fLastError;
@@ -95,7 +95,7 @@ namespace detail
/// @param file where does it originate from?
void print_error_asm(std::string reason, std::string file) noexcept;
- struct CompilerType
+ struct CompilerType final
{
std::string fName;
std::string fValue;
diff --git a/dev/ToolchainKit/src/CPlusPlusCompilerPreProcessor.cc b/dev/ToolchainKit/src/CPlusPlusCompilerPreProcessor.cc
index fad9530..b37c634 100644
--- a/dev/ToolchainKit/src/CPlusPlusCompilerPreProcessor.cc
+++ b/dev/ToolchainKit/src/CPlusPlusCompilerPreProcessor.cc
@@ -20,7 +20,7 @@
#define kMacroPrefix '#'
-/// @author EL Mahrouss Logic (amlel)
+/// @author EL Mahrouss Amlal (amlel)
/// @file bpp.cxx
/// @brief Preprocessor.
diff --git a/dev/ToolchainKit/src/Linker64.cc b/dev/ToolchainKit/src/Linker64.cc
index f0d6db1..8ced674 100644
--- a/dev/ToolchainKit/src/Linker64.cc
+++ b/dev/ToolchainKit/src/Linker64.cc
@@ -8,7 +8,7 @@
------------------------------------------- */
/// @file Linker64.cc
-/// @author EL Mahrouss Logic (amlel)
+/// @author EL Mahrouss Amlal (amlel)
/// @brief ZKA 64-bit Linker.
/// Last Rev: Sat Feb 24 CET 2024
/// @note Do not look up for anything with .code64/.data64/.zero64!