asl
base
BUILD.bazel
annotations.hpp
assert.cpp
assert.hpp
bit.hpp
bit_tests.cpp
config.hpp
defer.hpp
defer_tests.cpp
float.hpp
float_tests.cpp
functional.hpp
functional_tests.cpp
integers.hpp
integers_tests.cpp
meta.hpp
meta_tests.cpp
numeric.hpp
numeric_tests.cpp
utility.hpp
utility_tests.cpp
containers
formatting
handle_pool
hashing
io
logging
memory
strings
synchronization
testing
tests
types
BUILD.bazel
tools
vendor
.bazelrc
.clang-tidy
.clangd
.gitignore
BUILD.bazel
LICENSE.txt
MODULE.bazel
MODULE.bazel.lock
refresh_clangd.bat
refresh_clangd.sh
todo.txt
14 lines
302 B
C++
14 lines
302 B
C++
// Copyright 2025 Steven Le Rouzic
|
|
//
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
#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
|