Coverage Report

Created: 2026-09-01 06:05

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libzmq/src/macros.hpp
Line
Count
Source
1
2
/******************************************************************************/
3
/*  0MQ Internal Use                                                          */
4
/******************************************************************************/
5
6
0
#define LIBZMQ_UNUSED(object) (void) object
7
#define LIBZMQ_DELETE(p_object)                                                \
8
9.76k
    {                                                                          \
9
9.76k
        delete p_object;                                                       \
10
9.76k
        p_object = 0;                                                          \
11
9.76k
    }
12
13
/******************************************************************************/
14
15
#if !defined ZMQ_NOEXCEPT
16
#if defined ZMQ_HAVE_NOEXCEPT
17
#define ZMQ_NOEXCEPT noexcept
18
#else
19
#define ZMQ_NOEXCEPT
20
#endif
21
#endif
22
23
#if !defined ZMQ_OVERRIDE
24
#if defined ZMQ_HAVE_NOEXCEPT
25
#define ZMQ_OVERRIDE override
26
#else
27
#define ZMQ_OVERRIDE
28
#endif
29
#endif
30
31
#if !defined ZMQ_FINAL
32
#if defined ZMQ_HAVE_NOEXCEPT
33
#define ZMQ_FINAL final
34
#else
35
#define ZMQ_FINAL
36
#endif
37
#endif
38
39
#if !defined ZMQ_DEFAULT
40
#if defined ZMQ_HAVE_NOEXCEPT
41
#define ZMQ_DEFAULT = default;
42
#else
43
#define ZMQ_DEFAULT                                                            \
44
17.5k
    {                                                                          \
45
17.5k
    }
zmq::i_mailbox::~i_mailbox()
Line
Count
Source
44
3.90k
    {                                                                          \
45
3.90k
    }
zmq::poller_base_t::poller_base_t()
Line
Count
Source
44
1.95k
    {                                                                          \
45
1.95k
    }
zmq::i_poll_events::~i_poll_events()
Line
Count
Source
44
2.92k
    {                                                                          \
45
2.92k
    }
zmq::i_pipe_events::~i_pipe_events()
Line
Count
Source
44
976
    {                                                                          \
45
976
    }
Unexecuted instantiation: zmq::i_engine::~i_engine()
zmq::array_t<zmq::socket_base_t, 0>::array_t()
Line
Count
Source
44
976
    {                                                                          \
45
976
    }
zmq::ypipe_base_t<zmq::command_t>::~ypipe_base_t()
Line
Count
Source
44
3.90k
    {                                                                          \
45
3.90k
    }
Unexecuted instantiation: zmq::ypipe_base_t<zmq::msg_t>::~ypipe_base_t()
Unexecuted instantiation: zmq::array_item_t<1>::~array_item_t()
Unexecuted instantiation: zmq::array_item_t<2>::~array_item_t()
Unexecuted instantiation: zmq::array_item_t<3>::~array_item_t()
zmq::array_t<zmq::pipe_t, 3>::array_t()
Line
Count
Source
44
976
    {                                                                          \
45
976
    }
zmq::array_item_t<0>::~array_item_t()
Line
Count
Source
44
976
    {                                                                          \
45
976
    }
Unexecuted instantiation: zmq::condition_variable_t::condition_variable_t()
Unexecuted instantiation: zmq::i_encoder::~i_encoder()
Unexecuted instantiation: zmq::i_decoder::~i_decoder()
Unexecuted instantiation: zmq::secure_allocator_t<unsigned char>::secure_allocator_t()
zmq::array_t<zmq::pipe_t, 2>::array_t()
Line
Count
Source
44
976
    {                                                                          \
45
976
    }
Unexecuted instantiation: zmq::array_t<zmq::pipe_t, 1>::array_t()
46
#endif
47
#endif
48
49
#if !defined ZMQ_NON_COPYABLE_NOR_MOVABLE
50
#if defined ZMQ_HAVE_NOEXCEPT
51
#define ZMQ_NON_COPYABLE_NOR_MOVABLE(classname)                                \
52
  public:                                                                      \
53
    classname (const classname &) = delete;                                    \
54
    classname &operator= (const classname &) = delete;                         \
55
    classname (classname &&) = delete;                                         \
56
    classname &operator= (classname &&) = delete;
57
#else
58
#define ZMQ_NON_COPYABLE_NOR_MOVABLE(classname)                                \
59
  private:                                                                     \
60
    classname (const classname &);                                             \
61
    classname &operator= (const classname &);
62
#endif
63
#endif