summaryrefslogtreecommitdiff
path: root/asl/base/annotations.hpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-02-17 00:21:48 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-02-17 22:29:50 +0100
commita141c401f78467bc15f62882fca5d55a007cacbb (patch)
tree908ac71a8640f78f45d22c6808c5fa6e373000fa /asl/base/annotations.hpp
parentcb77cbe9ce4cddad6a460aa190ff70f0c13e4703 (diff)
Reorganize everything
Diffstat (limited to 'asl/base/annotations.hpp')
-rw-r--r--asl/base/annotations.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/asl/base/annotations.hpp b/asl/base/annotations.hpp
new file mode 100644
index 0000000..b87dbde
--- /dev/null
+++ b/asl/base/annotations.hpp
@@ -0,0 +1,9 @@
+#pragma once
+
+#include "asl/base/config.hpp"
+
+#if ASL_COMPILER_CLANG_CL
+ #define ASL_NO_UNIQUE_ADDRESS [[msvc::no_unique_address]]
+#elif ASL_COMPILER_CLANG
+ #define ASL_NO_UNIQUE_ADDRESS [[no_unique_address]]
+#endif