[libc++] Document the format of _LIBCPP_VERSION

Differential Revision: https://reviews.llvm.org/D134187
This commit is contained in:
Louis Dionne 2022-09-19 11:27:50 -04:00
parent 7b7559aa43
commit ad0dfb4f5e
1 changed files with 3 additions and 0 deletions

View File

@ -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