From 2e830ea1fe63a3b610c27cce31b15344bc36367c Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 15 Nov 2018 18:50:01 +0200 Subject: [PATCH] Use __PRETTY_FUNCTION__ on clang-cl --- include/boost/current_function.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/current_function.hpp b/include/boost/current_function.hpp index 86955cb..731d1b1 100644 --- a/include/boost/current_function.hpp +++ b/include/boost/current_function.hpp @@ -10,13 +10,13 @@ // // boost/current_function.hpp - BOOST_CURRENT_FUNCTION // -// Copyright (c) 2002 Peter Dimov and Multi Media Ltd. +// Copyright 2002-2018 Peter Dimov // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // -// http://www.boost.org/libs/assert/current_function.html +// http://www.boost.org/libs/assert // namespace boost @@ -32,7 +32,7 @@ inline void current_function_helper() # define BOOST_CURRENT_FUNCTION "(unknown)" -#elif defined(__GNUC__) || (defined(__MWERKS__) && (__MWERKS__ >= 0x3000)) || (defined(__ICC) && (__ICC >= 600)) || defined(__ghs__) +#elif defined(__GNUC__) || (defined(__MWERKS__) && (__MWERKS__ >= 0x3000)) || (defined(__ICC) && (__ICC >= 600)) || defined(__ghs__) || defined(__clang__) # define BOOST_CURRENT_FUNCTION __PRETTY_FUNCTION__