From 098ca4a3cf5fe1350043d683182ec46eba3652b1 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 4 Jul 2021 19:12:16 +0300 Subject: [PATCH] Document BOOST_CLANG_VERSION --- doc/macro_reference.qbk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/macro_reference.qbk b/doc/macro_reference.qbk index 729cb5b9..66af3c5c 100644 --- a/doc/macro_reference.qbk +++ b/doc/macro_reference.qbk @@ -1481,6 +1481,12 @@ compiler version macro. [[`BOOST_CLANG`][``][ Defined to 1 if the compiler is the Clang compiler. ]] +[[`BOOST_CLANG_VERSION`][``][ +Defined to the version of the Clang compiler, usually +`__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__`. On +Apple Clang, has a best-effort value reflecting the upstream version, rather +than the Apple version. +]] [[`BOOST_BORLANDC`][``][ Defined to the value of __BORLANDC__ if the compiler is the Embarcadero non-clang based compiler.