Coverage Report

Created: 2025-07-03 06:58

/src/Fast-DDS/thirdparty/boost/include/boost/current_function.hpp
Line
Count
Source (jump to first uncovered line)
1
#ifndef BOOST_CURRENT_FUNCTION_HPP_INCLUDED
2
#define BOOST_CURRENT_FUNCTION_HPP_INCLUDED
3
4
// MS compatible compilers support #pragma once
5
6
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
7
# pragma once
8
#endif
9
10
//
11
//  boost/current_function.hpp - BOOST_CURRENT_FUNCTION
12
//
13
//  Copyright 2002-2018 Peter Dimov
14
//
15
//  Distributed under the Boost Software License, Version 1.0.
16
//  See accompanying file LICENSE_1_0.txt or copy at
17
//  http://www.boost.org/LICENSE_1_0.txt
18
//
19
//  http://www.boost.org/libs/assert
20
//
21
22
namespace boost
23
{
24
25
namespace detail
26
{
27
28
inline void current_function_helper()
29
0
{
30
0
31
0
#if defined( BOOST_DISABLE_CURRENT_FUNCTION )
32
0
33
0
# define BOOST_CURRENT_FUNCTION "(unknown)"
34
0
35
0
#elif defined(__GNUC__) || (defined(__MWERKS__) && (__MWERKS__ >= 0x3000)) || (defined(__ICC) && (__ICC >= 600)) || defined(__ghs__) || defined(__clang__)
36
0
37
0
# define BOOST_CURRENT_FUNCTION __PRETTY_FUNCTION__
38
0
39
0
#elif defined(__DMC__) && (__DMC__ >= 0x810)
40
0
41
0
# define BOOST_CURRENT_FUNCTION __PRETTY_FUNCTION__
42
0
43
0
#elif defined(__FUNCSIG__)
44
0
45
0
# define BOOST_CURRENT_FUNCTION __FUNCSIG__
46
0
47
0
#elif (defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 600)) || (defined(__IBMCPP__) && (__IBMCPP__ >= 500))
48
0
49
0
# define BOOST_CURRENT_FUNCTION __FUNCTION__
50
0
51
0
#elif defined(__BORLANDC__) && (__BORLANDC__ >= 0x550)
52
0
53
0
# define BOOST_CURRENT_FUNCTION __FUNC__
54
0
55
0
#elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)
56
0
57
0
# define BOOST_CURRENT_FUNCTION __func__
58
0
59
0
#elif defined(__cplusplus) && (__cplusplus >= 201103)
60
0
61
0
# define BOOST_CURRENT_FUNCTION __func__
62
0
63
0
#else
64
0
65
0
# define BOOST_CURRENT_FUNCTION "(unknown)"
66
0
67
0
#endif
68
0
69
0
}
70
71
} // namespace detail
72
73
} // namespace boost
74
75
#endif // #ifndef BOOST_CURRENT_FUNCTION_HPP_INCLUDED