forked from boostorg/assert
Use __PRETTY_FUNCTION__ on clang-cl
This commit is contained in:
@@ -10,13 +10,13 @@
|
|||||||
//
|
//
|
||||||
// boost/current_function.hpp - BOOST_CURRENT_FUNCTION
|
// 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.
|
// Distributed under the Boost Software License, Version 1.0.
|
||||||
// See accompanying file LICENSE_1_0.txt or copy at
|
// See accompanying file LICENSE_1_0.txt or copy at
|
||||||
// http://www.boost.org/LICENSE_1_0.txt
|
// 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
|
namespace boost
|
||||||
@@ -32,7 +32,7 @@ inline void current_function_helper()
|
|||||||
|
|
||||||
# define BOOST_CURRENT_FUNCTION "(unknown)"
|
# 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__
|
# define BOOST_CURRENT_FUNCTION __PRETTY_FUNCTION__
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user