Skip to content

Commit 8ae26f3

Browse files
committed
remove BOOST_NORETURN fallback
1 parent 3d8c37d commit 8ae26f3

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

include/boost/json/detail/config.hpp

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -47,26 +47,6 @@
4747
# endif
4848
#endif
4949

50-
// BOOST_NORETURN ---------------------------------------------//
51-
// Macro to use before a function declaration/definition to designate
52-
// the function as not returning normally (i.e. with a return statement
53-
// or by leaving the function scope, if the function return type is void).
54-
#if !defined(BOOST_NORETURN)
55-
# if defined(_MSC_VER)
56-
# define BOOST_NORETURN __declspec(noreturn)
57-
# elif defined(__GNUC__)
58-
# define BOOST_NORETURN __attribute__ ((__noreturn__))
59-
# elif defined(__has_attribute) && defined(__SUNPRO_CC) && (__SUNPRO_CC > 0x5130)
60-
# if __has_attribute(noreturn)
61-
# define BOOST_NORETURN [[noreturn]]
62-
# endif
63-
# elif defined(__has_cpp_attribute)
64-
# if __has_cpp_attribute(noreturn)
65-
# define BOOST_NORETURN [[noreturn]]
66-
# endif
67-
# endif
68-
#endif
69-
7050
#ifndef BOOST_ASSERT
7151
#define BOOST_ASSERT assert
7252
#endif

0 commit comments

Comments
 (0)