Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62090 - in branches/release: boost/config/compiler libs/config/doc
From: dgregor_at_[hidden]
Date: 2010-05-18 14:13:12


Author: dgregor
Date: 2010-05-18 14:13:10 EDT (Tue, 18 May 2010)
New Revision: 62090
URL: http://svn.boost.org/trac/boost/changeset/62090

Log:
Merge BOOST_CLANG from trunk r62089.

Properties modified:
   branches/release/boost/config/compiler/ (props changed)
   branches/release/libs/config/doc/ (props changed)
Text files modified:
   branches/release/boost/config/compiler/clang.hpp | 4 ++++
   branches/release/libs/config/doc/macro_reference.qbk | 3 +++
   2 files changed, 7 insertions(+), 0 deletions(-)

Modified: branches/release/boost/config/compiler/clang.hpp
==============================================================================
--- branches/release/boost/config/compiler/clang.hpp (original)
+++ branches/release/boost/config/compiler/clang.hpp 2010-05-18 14:13:10 EDT (Tue, 18 May 2010)
@@ -62,3 +62,7 @@
 #ifndef BOOST_COMPILER
 # define BOOST_COMPILER "Clang version " __clang_version__
 #endif
+
+// Macro used to identify the Clang compiler.
+#define BOOST_CLANG 1
+

Modified: branches/release/libs/config/doc/macro_reference.qbk
==============================================================================
--- branches/release/libs/config/doc/macro_reference.qbk (original)
+++ branches/release/libs/config/doc/macro_reference.qbk 2010-05-18 14:13:10 EDT (Tue, 18 May 2010)
@@ -831,6 +831,9 @@
 Defined if the compiler is an Intel compiler, takes the same value as the
 compiler version macro.
 ]]
+[[`BOOST_CLANG`][`<boost/config.hpp>`][
+Defined to 1 if the compiler is the Clang compiler.
+]]
 [[`BOOST_WINDOWS`][`<boost/config.hpp>`][
 Defined if the Windows platfrom API is available.
 ]]


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk