[libcxx-commits] [PATCH] D134187: [libc++] Document the format of _LIBCPP_VERSION
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Sep 19 12:31:20 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGad0dfb4f5e07: [libc++] Document the format of _LIBCPP_VERSION (authored by ldionne).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134187/new/
https://reviews.llvm.org/D134187
Files:
libcxx/include/__config
Index: libcxx/include/__config
===================================================================
--- libcxx/include/__config
+++ libcxx/include/__config
@@ -24,6 +24,9 @@
#ifdef __cplusplus
+// _LIBCPP_VERSION represents the version of libc++, which matches the version of LLVM.
+// Given a LLVM release LLVM XX.Y.ZZ (e.g. LLVM 16.0.1 == 16.0.01), _LIBCPP_VERSION is
+// defined to XXYZZ.
# define _LIBCPP_VERSION 16000
# define _LIBCPP_CONCAT_IMPL(_X, _Y) _X##_Y
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134187.461304.patch
Type: text/x-patch
Size: 477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220919/b63143a3/attachment.bin>
More information about the libcxx-commits
mailing list