summaryrefslogtreecommitdiffhomepage
path: root/dev/LibCompiler/Defines.h
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/Defines.h
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/Defines.h')
-rw-r--r--dev/LibCompiler/Defines.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/dev/LibCompiler/Defines.h b/dev/LibCompiler/Defines.h
index 5fb7a98..3ee0d44 100644
--- a/dev/LibCompiler/Defines.h
+++ b/dev/LibCompiler/Defines.h
@@ -4,8 +4,8 @@
------------------------------------------- */
-#ifndef __TOOLCHAINKIT_DEFINES_H__
-#define __TOOLCHAINKIT_DEFINES_H__
+#ifndef __LIBCOMPILER_DEFINES_H__
+#define __LIBCOMPILER_DEFINES_H__
#ifndef Yes
#define Yes true
@@ -78,19 +78,19 @@
#define rt_copy_memory(dst, src, len) memcpy(dst, src, len)
#endif
-#define TOOLCHAINKIT_COPY_DELETE(KLASS) \
+#define LIBCOMPILER_COPY_DELETE(KLASS) \
KLASS& operator=(const KLASS&) = delete; \
KLASS(const KLASS&) = delete;
-#define TOOLCHAINKIT_COPY_DEFAULT(KLASS) \
+#define LIBCOMPILER_COPY_DEFAULT(KLASS) \
KLASS& operator=(const KLASS&) = default; \
KLASS(const KLASS&) = default;
-#define TOOLCHAINKIT_MOVE_DELETE(KLASS) \
+#define LIBCOMPILER_MOVE_DELETE(KLASS) \
KLASS& operator=(KLASS&&) = delete; \
KLASS(KLASS&&) = delete;
-#define TOOLCHAINKIT_MOVE_DEFAULT(KLASS) \
+#define LIBCOMPILER_MOVE_DEFAULT(KLASS) \
KLASS& operator=(KLASS&&) = default; \
KLASS(KLASS&&) = default;
@@ -163,10 +163,10 @@ typedef char char_type;
#define kAsmFileExtsMax 7
-#define TOOLCHAINKIT_MODULE(name) extern "C" int name(int argc, char** argv)
+#define LIBCOMPILER_MODULE(name) extern "C" int name(int argc, char** argv)
#ifdef MSVC
#pragma scalar_storage_order big - endian
#endif // ifdef MSVC
-#endif /* ifndef __TOOLCHAINKIT_DEFINES_H__ */
+#endif /* ifndef __LIBCOMPILER_DEFINES_H__ */