summaryrefslogtreecommitdiff
path: root/libcxx/include/__config
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2023-04-08 10:22:46 +0000
committerDimitry Andric <dim@FreeBSD.org>2023-04-08 10:22:46 +0000
commit8a37c71e9d8855c91b9ef296ed389248f960bb52 (patch)
treeba53c9477fd985f645c0cfbacb5e9466f36dde9c /libcxx/include/__config
parent5bcd187b307a70f29854eb0c5ccdf30ff3770fe1 (diff)
Vendor import of llvm-project branch release/16.x llvmorg-16.0.1-0-gcd89023f7979 (aka 16.0.1 release).vendor/llvm-project/llvmorg-16.0.1-0-gcd89023f7979
Diffstat (limited to 'libcxx/include/__config')
-rw-r--r--libcxx/include/__config1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config
index 2f11f3b7d495..581ada45b3f0 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -23,6 +23,7 @@
#endif
#if defined(__apple_build_version__)
+// Given AppleClang XX.Y.Z, _LIBCPP_APPLE_CLANG_VER is XXYZ (e.g. AppleClang 14.0.3 => 1403)
# define _LIBCPP_COMPILER_CLANG_BASED
# define _LIBCPP_APPLE_CLANG_VER (__apple_build_version__ / 10000)
#elif defined(__clang__)