[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 08:29:58 PDT 2022


ldionne updated this revision to Diff 461220.
ldionne added a comment.

Use XXYZZ instead of ABCDE.


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.461220.patch
Type: text/x-patch
Size: 477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220919/169bbb82/attachment.bin>


More information about the libcxx-commits mailing list