From a256248ceb9457560902fd5861b533ae85a92016 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Thu, 7 Nov 2024 14:35:36 +0100 Subject: Rename original @author to Amlal EL Mahrouss due to bad refactoring. Signed-off-by: Amlal EL Mahrouss --- dev/ToolchainKit/src/CPlusPlusCompilerAMD64.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'dev/ToolchainKit/src/CPlusPlusCompilerAMD64.cc') 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 #include #include -/* 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 kStackFrame; - std::vector kStructMap; - ToolchainKit::SyntaxLeafList* fSyntaxTree{nullptr}; + std::vector fStackMapVector; + std::vector fStructMapVector; + ToolchainKit::SyntaxLeafList* fSyntaxTree{nullptr}; std::unique_ptr 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; -- cgit v1.2.3