File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
include/boost/json/detail Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments