summaryrefslogtreecommitdiffhomepage
path: root/dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-01-08 10:28:10 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-01-08 10:28:10 +0100
commitf5a153c3f888f82edaf5038e5762f9bd70356db4 (patch)
tree02d3a8f71796105a7e6780eb3327b2c2724e70d5 /dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc
parentc3b10ee1e28737375d65c3811f390d77a84fc165 (diff)
KAN-8: Compiler tweaks and AARCH64 in progress.
- Refactor C compilers. - Add Encoder for ARM64. - Add and working on assembler for AARCH64. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc')
-rw-r--r--dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc b/dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc
index 906ba4e..90db68b 100644
--- a/dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc
+++ b/dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc
@@ -74,7 +74,7 @@ namespace Details
explicit bpp_pragma() = default;
~bpp_pragma() = default;
- TOOLCHAINKIT_COPY_DEFAULT(bpp_pragma);
+ LIBCOMPILER_COPY_DEFAULT(bpp_pragma);
std::string fMacroName;
bpp_parser_fn_t fParse;
@@ -908,7 +908,7 @@ void bpp_parse_file(std::ifstream& hdr_file, std::ofstream& pp_out)
/////////////////////////////////////////////////////////////////////////////////////////
-TOOLCHAINKIT_MODULE(CPlusPlusPreprocessorMain)
+LIBCOMPILER_MODULE(CPlusPlusPreprocessorMain)
{
try
{
@@ -931,7 +931,7 @@ TOOLCHAINKIT_MODULE(CPlusPlusPreprocessorMain)
Details::bpp_macro macro_zka;
- macro_zka.fName = "__TOOLCHAINKIT__";
+ macro_zka.fName = "__LIBCOMPILER__";
macro_zka.fValue = "1";
kMacros.push_back(macro_zka);
@@ -1044,7 +1044,7 @@ TOOLCHAINKIT_MODULE(CPlusPlusPreprocessorMain)
}
if (kFiles.empty())
- return TOOLCHAINKIT_EXEC_ERROR;
+ return LIBCOMPILER_EXEC_ERROR;
for (auto& file : kFiles)
{