81 | 95.9M | } bool const& inline_check_non_fatal<bool const&>(bool const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 109 | { | 74 | 109 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 109 | return std::forward<T>(val); | 81 | 109 | } |
bool&& inline_check_non_fatal<bool>(bool&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 93.8M | { | 74 | 93.8M | if (!val) { | 75 | 9 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 9 | assertion_fail(loc, assertion); | 77 | 9 | } | 78 | 9 | throw NonFatalCheckError{assertion, loc}; | 79 | 9 | } | 80 | 93.8M | return std::forward<T>(val); | 81 | 93.8M | } |
bool& inline_check_non_fatal<bool&>(bool&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 1.74M | { | 74 | 1.74M | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 1.74M | return std::forward<T>(val); | 81 | 1.74M | } |
ValidationSignals* const& inline_check_non_fatal<ValidationSignals* const&>(ValidationSignals* const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 14.9k | { | 74 | 14.9k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 14.9k | return std::forward<T>(val); | 81 | 14.9k | } |
CBlockIndex const*&& inline_check_non_fatal<CBlockIndex const*>(CBlockIndex const*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 172k | { | 74 | 172k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 172k | return std::forward<T>(val); | 81 | 172k | } |
CBlockIndex const*& inline_check_non_fatal<CBlockIndex const*&>(CBlockIndex const*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 129 | { | 74 | 129 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 129 | return std::forward<T>(val); | 81 | 129 | } |
node::BlockManager*&& inline_check_non_fatal<node::BlockManager*>(node::BlockManager*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 11 | { | 74 | 11 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 11 | return std::forward<T>(val); | 81 | 11 | } |
Unexecuted instantiation: std::shared_ptr<CTransaction const>&& inline_check_non_fatal<std::shared_ptr<CTransaction const>>(std::shared_ptr<CTransaction const>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) CBlockIndex*& inline_check_non_fatal<CBlockIndex*&>(CBlockIndex*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 100 | { | 74 | 100 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 100 | return std::forward<T>(val); | 81 | 100 | } |
std::optional<interfaces::BlockRef>&& inline_check_non_fatal<std::optional<interfaces::BlockRef>>(std::optional<interfaces::BlockRef>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 120 | { | 74 | 120 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 120 | return std::forward<T>(val); | 81 | 120 | } |
std::unique_ptr<ValidationSignals, std::default_delete<ValidationSignals>>& inline_check_non_fatal<std::unique_ptr<ValidationSignals, std::default_delete<ValidationSignals>>&>(std::unique_ptr<ValidationSignals, std::default_delete<ValidationSignals>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 4.16k | { | 74 | 4.16k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 4.16k | return std::forward<T>(val); | 81 | 4.16k | } |
CBlockIndex*&& inline_check_non_fatal<CBlockIndex*>(CBlockIndex*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 17.4k | { | 74 | 17.4k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 17.4k | return std::forward<T>(val); | 81 | 17.4k | } |
CBlockIndex* const& inline_check_non_fatal<CBlockIndex* const&>(CBlockIndex* const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 12 | { | 74 | 12 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 12 | return std::forward<T>(val); | 81 | 12 | } |
std::unique_ptr<node::Warnings, std::default_delete<node::Warnings>>& inline_check_non_fatal<std::unique_ptr<node::Warnings, std::default_delete<node::Warnings>>&>(std::unique_ptr<node::Warnings, std::default_delete<node::Warnings>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 17.0k | { | 74 | 17.0k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 17.0k | return std::forward<T>(val); | 81 | 17.0k | } |
std::optional<kernel::CCoinsStats>& inline_check_non_fatal<std::optional<kernel::CCoinsStats>&>(std::optional<kernel::CCoinsStats>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 37 | { | 74 | 37 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 37 | return std::forward<T>(val); | 81 | 37 | } |
std::unique_ptr<ValidationSignals, std::default_delete<ValidationSignals>> const& inline_check_non_fatal<std::unique_ptr<ValidationSignals, std::default_delete<ValidationSignals>> const&>(std::unique_ptr<ValidationSignals, std::default_delete<ValidationSignals>> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 159 | { | 74 | 159 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 159 | return std::forward<T>(val); | 81 | 159 | } |
std::optional<CFeeRate> const& inline_check_non_fatal<std::optional<CFeeRate> const&>(std::optional<CFeeRate> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 25 | { | 74 | 25 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 25 | return std::forward<T>(val); | 81 | 25 | } |
std::unique_ptr<interfaces::BlockTemplate, std::default_delete<interfaces::BlockTemplate>>& inline_check_non_fatal<std::unique_ptr<interfaces::BlockTemplate, std::default_delete<interfaces::BlockTemplate>>&>(std::unique_ptr<interfaces::BlockTemplate, std::default_delete<interfaces::BlockTemplate>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 33.8k | { | 74 | 33.8k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 33.8k | return std::forward<T>(val); | 81 | 33.8k | } |
std::unique_ptr<NetGroupManager const, std::default_delete<NetGroupManager const>>& inline_check_non_fatal<std::unique_ptr<NetGroupManager const, std::default_delete<NetGroupManager const>>&>(std::unique_ptr<NetGroupManager const, std::default_delete<NetGroupManager const>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 946 | { | 74 | 946 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 946 | return std::forward<T>(val); | 81 | 946 | } |
std::unique_ptr<CScheduler, std::default_delete<CScheduler>> const& inline_check_non_fatal<std::unique_ptr<CScheduler, std::default_delete<CScheduler>> const&>(std::unique_ptr<CScheduler, std::default_delete<CScheduler>> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 30 | { | 74 | 30 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 30 | return std::forward<T>(val); | 81 | 30 | } |
std::optional<CMutableTransaction>&& inline_check_non_fatal<std::optional<CMutableTransaction>>(std::optional<CMutableTransaction>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 53 | { | 74 | 53 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 53 | return std::forward<T>(val); | 81 | 53 | } |
std::optional<PrecomputedTransactionData> const& inline_check_non_fatal<std::optional<PrecomputedTransactionData> const&>(std::optional<PrecomputedTransactionData> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 13 | { | 74 | 13 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 13 | return std::forward<T>(val); | 81 | 13 | } |
std::function<bool ()>& inline_check_non_fatal<std::function<bool ()>&>(std::function<bool ()>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 1.02k | { | 74 | 1.02k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 1.02k | return std::forward<T>(val); | 81 | 1.02k | } |
JSONRPCRequest const*& inline_check_non_fatal<JSONRPCRequest const*&>(JSONRPCRequest const*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 50.1k | { | 74 | 50.1k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 50.1k | return std::forward<T>(val); | 81 | 50.1k | } |
UniValue const*& inline_check_non_fatal<UniValue const*&>(UniValue const*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 45.9k | { | 74 | 45.9k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 45.9k | return std::forward<T>(val); | 81 | 45.9k | } |
std::optional<arith_uint256>&& inline_check_non_fatal<std::optional<arith_uint256>>(std::optional<arith_uint256>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 20.4k | { | 74 | 20.4k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 20.4k | return std::forward<T>(val); | 81 | 20.4k | } |
|
97 | 2.46G | } bool&& inline_assertion_check<false, bool>(bool&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2.33G | { | 91 | 2.33G | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2.33G | if (!val) { | 93 | 1 | assertion_fail(loc, assertion); | 94 | 1 | } | 95 | 2.33G | } | 96 | 2.33G | return std::forward<T>(val); | 97 | 2.33G | } |
FeeRateEstimationError const*&& inline_assertion_check<true, FeeRateEstimationError const*>(FeeRateEstimationError const*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.65k | { | 91 | 1.65k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.65k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.65k | } | 96 | 1.65k | return std::forward<T>(val); | 97 | 1.65k | } |
bool& inline_assertion_check<true, bool&>(bool&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.61k | { | 91 | 1.61k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.61k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.61k | } | 96 | 1.61k | return std::forward<T>(val); | 97 | 1.61k | } |
bool&& inline_assertion_check<true, bool>(bool&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 15.8M | { | 91 | 15.8M | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 15.8M | if (!val) { | 93 | 1 | assertion_fail(loc, assertion); | 94 | 1 | } | 95 | 15.8M | } | 96 | 15.8M | return std::forward<T>(val); | 97 | 15.8M | } |
std::unique_ptr<ChainstateManager, std::default_delete<ChainstateManager>>& inline_assertion_check<true, std::unique_ptr<ChainstateManager, std::default_delete<ChainstateManager>>&>(std::unique_ptr<ChainstateManager, std::default_delete<ChainstateManager>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 923k | { | 91 | 923k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 923k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 923k | } | 96 | 923k | return std::forward<T>(val); | 97 | 923k | } |
std::unique_ptr<CoinsViews, std::default_delete<CoinsViews>>& inline_assertion_check<true, std::unique_ptr<CoinsViews, std::default_delete<CoinsViews>>&>(std::unique_ptr<CoinsViews, std::default_delete<CoinsViews>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2.17M | { | 91 | 2.17M | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2.17M | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2.17M | } | 96 | 2.17M | return std::forward<T>(val); | 97 | 2.17M | } |
std::unique_ptr<CCoinsViewCache, std::default_delete<CCoinsViewCache>>& inline_assertion_check<true, std::unique_ptr<CCoinsViewCache, std::default_delete<CCoinsViewCache>>&>(std::unique_ptr<CCoinsViewCache, std::default_delete<CCoinsViewCache>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2.16M | { | 91 | 2.16M | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2.16M | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2.16M | } | 96 | 2.16M | return std::forward<T>(val); | 97 | 2.16M | } |
int&& inline_assertion_check<false, int>(int&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 47.1M | { | 91 | 47.1M | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 47.1M | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 47.1M | } | 96 | 47.1M | return std::forward<T>(val); | 97 | 47.1M | } |
unsigned char const& inline_assertion_check<false, unsigned char const&>(unsigned char const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.31M | { | 91 | 1.31M | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.31M | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.31M | } | 96 | 1.31M | return std::forward<T>(val); | 97 | 1.31M | } |
CCoinsView*& inline_assertion_check<true, CCoinsView*&>(CCoinsView*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 493k | { | 91 | 493k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 493k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 493k | } | 96 | 493k | return std::forward<T>(val); | 97 | 493k | } |
std::shared_ptr<ThreadPool>& inline_assertion_check<true, std::shared_ptr<ThreadPool>&>(std::shared_ptr<ThreadPool>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.32k | { | 91 | 1.32k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.32k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.32k | } | 96 | 1.32k | return std::forward<T>(val); | 97 | 1.32k | } |
std::unique_ptr<LevelDBContext, std::default_delete<LevelDBContext>> const& inline_assertion_check<true, std::unique_ptr<LevelDBContext, std::default_delete<LevelDBContext>> const&>(std::unique_ptr<LevelDBContext, std::default_delete<LevelDBContext>> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 10.8M | { | 91 | 10.8M | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 10.8M | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 10.8M | } | 96 | 10.8M | return std::forward<T>(val); | 97 | 10.8M | } |
CDBWrapper::ReadFailure const*&& inline_assertion_check<true, CDBWrapper::ReadFailure const*>(CDBWrapper::ReadFailure const*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 4 | { | 91 | 4 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 4 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 4 | } | 96 | 4 | return std::forward<T>(val); | 97 | 4 | } |
std::optional<arith_uint256> const& inline_assertion_check<true, std::optional<arith_uint256> const&>(std::optional<arith_uint256> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 214k | { | 91 | 214k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 214k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 214k | } | 96 | 214k | return std::forward<T>(val); | 97 | 214k | } |
std::optional<uint256> const& inline_assertion_check<true, std::optional<uint256> const&>(std::optional<uint256> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 159k | { | 91 | 159k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 159k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 159k | } | 96 | 159k | return std::forward<T>(val); | 97 | 159k | } |
std::unique_ptr<CTxMemPool, std::default_delete<CTxMemPool>>& inline_assertion_check<true, std::unique_ptr<CTxMemPool, std::default_delete<CTxMemPool>>&>(std::unique_ptr<CTxMemPool, std::default_delete<CTxMemPool>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.08k | { | 91 | 1.08k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.08k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.08k | } | 96 | 1.08k | return std::forward<T>(val); | 97 | 1.08k | } |
std::optional<uint256>&& inline_assertion_check<true, std::optional<uint256>>(std::optional<uint256>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 132 | { | 91 | 132 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 132 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 132 | } | 96 | 132 | return std::forward<T>(val); | 97 | 132 | } |
std::function<bool ()>& inline_assertion_check<true, std::function<bool ()>&>(std::function<bool ()>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.36k | { | 91 | 1.36k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.36k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.36k | } | 96 | 1.36k | return std::forward<T>(val); | 97 | 1.36k | } |
std::unique_ptr<node::Warnings, std::default_delete<node::Warnings>>& inline_assertion_check<true, std::unique_ptr<node::Warnings, std::default_delete<node::Warnings>>&>(std::unique_ptr<node::Warnings, std::default_delete<node::Warnings>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.36k | { | 91 | 1.36k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.36k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.36k | } | 96 | 1.36k | return std::forward<T>(val); | 97 | 1.36k | } |
util::SignalInterrupt*& inline_assertion_check<true, util::SignalInterrupt*&>(util::SignalInterrupt*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 87.4k | { | 91 | 87.4k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 87.4k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 87.4k | } | 96 | 87.4k | return std::forward<T>(val); | 97 | 87.4k | } |
node::ReadRawError*&& inline_assertion_check<true, node::ReadRawError*>(node::ReadRawError*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 14 | { | 91 | 14 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 14 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 14 | } | 96 | 14 | return std::forward<T>(val); | 97 | 14 | } |
unsigned long& inline_assertion_check<false, unsigned long&>(unsigned long&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 17.5M | { | 91 | 17.5M | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 17.5M | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 17.5M | } | 96 | 17.5M | return std::forward<T>(val); | 97 | 17.5M | } |
Unexecuted instantiation: unsigned long const& inline_assertion_check<false, unsigned long const&>(unsigned long const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) std::optional<int>&& inline_assertion_check<true, std::optional<int>>(std::optional<int>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 3 | { | 91 | 3 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 3 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 3 | } | 96 | 3 | return std::forward<T>(val); | 97 | 3 | } |
std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>&& inline_assertion_check<true, std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>(std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
std::optional<Coin>&& inline_assertion_check<true, std::optional<Coin>>(std::optional<Coin>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1 | { | 91 | 1 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1 | } | 96 | 1 | return std::forward<T>(val); | 97 | 1 | } |
CDBWrapper::ReadFailure*&& inline_assertion_check<true, CDBWrapper::ReadFailure*>(CDBWrapper::ReadFailure*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 6 | { | 91 | 6 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 6 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 6 | } | 96 | 6 | return std::forward<T>(val); | 97 | 6 | } |
std::optional<unsigned int>&& inline_assertion_check<true, std::optional<unsigned int>>(std::optional<unsigned int>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 3 | { | 91 | 3 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 3 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 3 | } | 96 | 3 | return std::forward<T>(val); | 97 | 3 | } |
CBlockIndex*&& inline_assertion_check<true, CBlockIndex*>(CBlockIndex*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 145k | { | 91 | 145k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 145k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 145k | } | 96 | 145k | return std::forward<T>(val); | 97 | 145k | } |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*&& inline_assertion_check<true, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 26 | { | 91 | 26 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 26 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 26 | } | 96 | 26 | return std::forward<T>(val); | 97 | 26 | } |
util::Expected<std::future<void>, ThreadPool::SubmitError>&& inline_assertion_check<true, util::Expected<std::future<void>, ThreadPool::SubmitError>>(util::Expected<std::future<void>, ThreadPool::SubmitError>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 358 | { | 91 | 358 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 358 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 358 | } | 96 | 358 | return std::forward<T>(val); | 97 | 358 | } |
std::optional<BCLog::LogFlags>&& inline_assertion_check<true, std::optional<BCLog::LogFlags>>(std::optional<BCLog::LogFlags>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 30 | { | 91 | 30 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 30 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 30 | } | 96 | 30 | return std::forward<T>(val); | 97 | 30 | } |
std::shared_ptr<BCLog::LogRateLimiter>& inline_assertion_check<true, std::shared_ptr<BCLog::LogRateLimiter>&>(std::shared_ptr<BCLog::LogRateLimiter>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1 | { | 91 | 1 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1 | } | 96 | 1 | return std::forward<T>(val); | 97 | 1 | } |
CBlockIndex*& inline_assertion_check<true, CBlockIndex*&>(CBlockIndex*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 309k | { | 91 | 309k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 309k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 309k | } | 96 | 309k | return std::forward<T>(val); | 97 | 309k | } |
CTxMemPoolEntry const*&& inline_assertion_check<true, CTxMemPoolEntry const*>(CTxMemPoolEntry const*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 111 | { | 91 | 111 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 111 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 111 | } | 96 | 111 | return std::forward<T>(val); | 97 | 111 | } |
ArgsManager*& inline_assertion_check<true, ArgsManager*&>(ArgsManager*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 10.6k | { | 91 | 10.6k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 10.6k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 10.6k | } | 96 | 10.6k | return std::forward<T>(val); | 97 | 10.6k | } |
std::optional<std::vector<std::byte, std::allocator<std::byte>>>&& inline_assertion_check<true, std::optional<std::vector<std::byte, std::allocator<std::byte>>>>(std::optional<std::vector<std::byte, std::allocator<std::byte>>>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 3.73k | { | 91 | 3.73k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 3.73k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 3.73k | } | 96 | 3.73k | return std::forward<T>(val); | 97 | 3.73k | } |
unsigned long const& inline_assertion_check<true, unsigned long const&>(unsigned long const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 10 | { | 91 | 10 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 10 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 10 | } | 96 | 10 | return std::forward<T>(val); | 97 | 10 | } |
ThreadPool::SubmitError*&& inline_assertion_check<true, ThreadPool::SubmitError*>(ThreadPool::SubmitError*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 6 | { | 91 | 6 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 6 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 6 | } | 96 | 6 | return std::forward<T>(val); | 97 | 6 | } |
ThreadPool::SubmitError const*&& inline_assertion_check<true, ThreadPool::SubmitError const*>(ThreadPool::SubmitError const*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
util::Expected<std::future<bool>, ThreadPool::SubmitError>&& inline_assertion_check<true, util::Expected<std::future<bool>, ThreadPool::SubmitError>>(util::Expected<std::future<bool>, ThreadPool::SubmitError>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
util::Expected<std::future<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, ThreadPool::SubmitError>&& inline_assertion_check<true, util::Expected<std::future<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, ThreadPool::SubmitError>>(util::Expected<std::future<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, ThreadPool::SubmitError>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1 | { | 91 | 1 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1 | } | 96 | 1 | return std::forward<T>(val); | 97 | 1 | } |
util::Expected<std::vector<std::future<int>, std::allocator<std::future<int>>>, ThreadPool::SubmitError>&& inline_assertion_check<true, util::Expected<std::vector<std::future<int>, std::allocator<std::future<int>>>, ThreadPool::SubmitError>>(util::Expected<std::vector<std::future<int>, std::allocator<std::future<int>>>, ThreadPool::SubmitError>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const*&& inline_assertion_check<true, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const*>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 22 | { | 91 | 22 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 22 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 22 | } | 96 | 22 | return std::forward<T>(val); | 97 | 22 | } |
std::unique_ptr<int, std::default_delete<int>>*&& inline_assertion_check<true, std::unique_ptr<int, std::default_delete<int>>*>(std::unique_ptr<int, std::default_delete<int>>*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 3 | { | 91 | 3 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 3 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 3 | } | 96 | 3 | return std::forward<T>(val); | 97 | 3 | } |
std::unique_ptr<int, std::default_delete<int>>&& inline_assertion_check<true, std::unique_ptr<int, std::default_delete<int>>>(std::unique_ptr<int, std::default_delete<int>>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
std::unique_ptr<int, std::default_delete<int>> const& inline_assertion_check<true, std::unique_ptr<int, std::default_delete<int>> const&>(std::unique_ptr<int, std::default_delete<int>> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
bool const& inline_assertion_check<true, bool const&>(bool const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
util_tests.cpp:util_tests::(anonymous namespace)::NoCopyOrMove& inline_assertion_check<true, util_tests::(anonymous namespace)::NoCopyOrMove&>(util_tests::(anonymous namespace)::NoCopyOrMove&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 6 | { | 91 | 6 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 6 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 6 | } | 96 | 6 | return std::forward<T>(val); | 97 | 6 | } |
int&& inline_assertion_check<true, int>(int&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
Chainstate*&& inline_assertion_check<true, Chainstate*>(Chainstate*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 7 | { | 91 | 7 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 7 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 7 | } | 96 | 7 | return std::forward<T>(val); | 97 | 7 | } |
std::optional<uint256> const&& inline_assertion_check<true, std::optional<uint256> const>(std::optional<uint256> const&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 4 | { | 91 | 4 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 4 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 4 | } | 96 | 4 | return std::forward<T>(val); | 97 | 4 | } |
std::shared_ptr<CTransaction const>& inline_assertion_check<true, std::shared_ptr<CTransaction const>&>(std::shared_ptr<CTransaction const>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 151k | { | 91 | 151k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 151k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 151k | } | 96 | 151k | return std::forward<T>(val); | 97 | 151k | } |
std::unique_ptr<wallet::WalletDatabase, std::default_delete<wallet::WalletDatabase>> const& inline_assertion_check<true, std::unique_ptr<wallet::WalletDatabase, std::default_delete<wallet::WalletDatabase>> const&>(std::unique_ptr<wallet::WalletDatabase, std::default_delete<wallet::WalletDatabase>> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
std::unique_ptr<wallet::SQLiteDatabase, std::default_delete<wallet::SQLiteDatabase>> const& inline_assertion_check<true, std::unique_ptr<wallet::SQLiteDatabase, std::default_delete<wallet::SQLiteDatabase>> const&>(std::unique_ptr<wallet::SQLiteDatabase, std::default_delete<wallet::SQLiteDatabase>> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
util::Result<std::variant<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, PayToAnchor, WitnessUnknown>>&& inline_assertion_check<true, util::Result<std::variant<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, PayToAnchor, WitnessUnknown>>>(util::Result<std::variant<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, PayToAnchor, WitnessUnknown>>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 6.11k | { | 91 | 6.11k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 6.11k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 6.11k | } | 96 | 6.11k | return std::forward<T>(val); | 97 | 6.11k | } |
util::Result<wallet::CoinsResult>&& inline_assertion_check<true, util::Result<wallet::CoinsResult>>(util::Result<wallet::CoinsResult>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1 | { | 91 | 1 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1 | } | 96 | 1 | return std::forward<T>(val); | 97 | 1 | } |
std::optional<OutputType>&& inline_assertion_check<true, std::optional<OutputType>>(std::optional<OutputType>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 180 | { | 91 | 180 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 180 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 180 | } | 96 | 180 | return std::forward<T>(val); | 97 | 180 | } |
util::Result<std::reference_wrapper<wallet::DescriptorScriptPubKeyMan>>&& inline_assertion_check<true, util::Result<std::reference_wrapper<wallet::DescriptorScriptPubKeyMan>>>(util::Result<std::reference_wrapper<wallet::DescriptorScriptPubKeyMan>>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 36 | { | 91 | 36 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 36 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 36 | } | 96 | 36 | return std::forward<T>(val); | 97 | 36 | } |
wallet::WalletError*&& inline_assertion_check<true, wallet::WalletError*>(wallet::WalletError*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 5 | { | 91 | 5 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 5 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 5 | } | 96 | 5 | return std::forward<T>(val); | 97 | 5 | } |
BlockFilterIndex*&& inline_assertion_check<true, BlockFilterIndex*>(BlockFilterIndex*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
std::unique_ptr<ChainstateManager, std::default_delete<ChainstateManager>> const& inline_assertion_check<true, std::unique_ptr<ChainstateManager, std::default_delete<ChainstateManager>> const&>(std::unique_ptr<ChainstateManager, std::default_delete<ChainstateManager>> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 87.6k | { | 91 | 87.6k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 87.6k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 87.6k | } | 96 | 87.6k | return std::forward<T>(val); | 97 | 87.6k | } |
std::unique_ptr<interfaces::BlockTemplate, std::default_delete<interfaces::BlockTemplate>>& inline_assertion_check<true, std::unique_ptr<interfaces::BlockTemplate, std::default_delete<interfaces::BlockTemplate>>&>(std::unique_ptr<interfaces::BlockTemplate, std::default_delete<interfaces::BlockTemplate>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 8.36k | { | 91 | 8.36k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 8.36k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 8.36k | } | 96 | 8.36k | return std::forward<T>(val); | 97 | 8.36k | } |
Unexecuted instantiation: std::atomic<bool>& inline_assertion_check<true, std::atomic<bool>&>(std::atomic<bool>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) CTxMemPool*&& inline_assertion_check<true, CTxMemPool*>(CTxMemPool*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.27k | { | 91 | 1.27k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.27k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.27k | } | 96 | 1.27k | return std::forward<T>(val); | 97 | 1.27k | } |
util::Result<node::BlockCreateOptions>& inline_assertion_check<true, util::Result<node::BlockCreateOptions>&>(util::Result<node::BlockCreateOptions>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.27k | { | 91 | 1.27k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.27k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.27k | } | 96 | 1.27k | return std::forward<T>(val); | 97 | 1.27k | } |
util::Result<void> const& inline_assertion_check<true, util::Result<void> const&>(util::Result<void> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 195 | { | 91 | 195 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 195 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 195 | } | 96 | 195 | return std::forward<T>(val); | 97 | 195 | } |
std::optional<PresaltedSipHasher>& inline_assertion_check<true, std::optional<PresaltedSipHasher>&>(std::optional<PresaltedSipHasher>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 129k | { | 91 | 129k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 129k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 129k | } | 96 | 129k | return std::forward<T>(val); | 97 | 129k | } |
CBlockIndex const*&& inline_assertion_check<true, CBlockIndex const*>(CBlockIndex const*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 9.77k | { | 91 | 9.77k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 9.77k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 9.77k | } | 96 | 9.77k | return std::forward<T>(val); | 97 | 9.77k | } |
std::optional<unsigned long>& inline_assertion_check<false, std::optional<unsigned long>&>(std::optional<unsigned long>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 553 | { | 91 | 553 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 553 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 553 | } | 96 | 553 | return std::forward<T>(val); | 97 | 553 | } |
CBlockIndex const*& inline_assertion_check<true, CBlockIndex const*&>(CBlockIndex const*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 135k | { | 91 | 135k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 135k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 135k | } | 96 | 135k | return std::forward<T>(val); | 97 | 135k | } |
CBlock const* const& inline_assertion_check<true, CBlock const* const&>(CBlock const* const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 7.97k | { | 91 | 7.97k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 7.97k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 7.97k | } | 96 | 7.97k | return std::forward<T>(val); | 97 | 7.97k | } |
CBlockUndo const* const& inline_assertion_check<true, CBlockUndo const* const&>(CBlockUndo const* const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 8.33k | { | 91 | 8.33k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 8.33k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 8.33k | } | 96 | 8.33k | return std::forward<T>(val); | 97 | 8.33k | } |
uint256 const* const& inline_assertion_check<true, uint256 const* const&>(uint256 const* const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 201k | { | 91 | 201k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 201k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 201k | } | 96 | 201k | return std::forward<T>(val); | 97 | 201k | } |
std::optional<util::SignalInterrupt>& inline_assertion_check<true, std::optional<util::SignalInterrupt>&>(std::optional<util::SignalInterrupt>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 23 | { | 91 | 23 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 23 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 23 | } | 96 | 23 | return std::forward<T>(val); | 97 | 23 | } |
util::Result<void>&& inline_assertion_check<true, util::Result<void>>(util::Result<void>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 3.30k | { | 91 | 3.30k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 3.30k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 3.30k | } | 96 | 3.30k | return std::forward<T>(val); | 97 | 3.30k | } |
std::unique_ptr<ValidationSignals, std::default_delete<ValidationSignals>>& inline_assertion_check<true, std::unique_ptr<ValidationSignals, std::default_delete<ValidationSignals>>&>(std::unique_ptr<ValidationSignals, std::default_delete<ValidationSignals>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2.12k | { | 91 | 2.12k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2.12k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2.12k | } | 96 | 2.12k | return std::forward<T>(val); | 97 | 2.12k | } |
std::unique_ptr<node::KernelNotifications, std::default_delete<node::KernelNotifications>>& inline_assertion_check<true, std::unique_ptr<node::KernelNotifications, std::default_delete<node::KernelNotifications>>&>(std::unique_ptr<node::KernelNotifications, std::default_delete<node::KernelNotifications>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.07k | { | 91 | 1.07k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.07k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.07k | } | 96 | 1.07k | return std::forward<T>(val); | 97 | 1.07k | } |
bool& inline_assertion_check<false, bool&>(bool&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 421k | { | 91 | 421k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 421k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 421k | } | 96 | 421k | return std::forward<T>(val); | 97 | 421k | } |
net_processing.cpp:(anonymous namespace)::CNodeState*&& inline_assertion_check<true, (anonymous namespace)::CNodeState*>((anonymous namespace)::CNodeState*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 54.9k | { | 91 | 54.9k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 54.9k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 54.9k | } | 96 | 54.9k | return std::forward<T>(val); | 97 | 54.9k | } |
net_processing.cpp:std::shared_ptr<(anonymous namespace)::Peer>&& inline_assertion_check<true, std::shared_ptr<(anonymous namespace)::Peer>>(std::shared_ptr<(anonymous namespace)::Peer>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 4 | { | 91 | 4 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 4 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 4 | } | 96 | 4 | return std::forward<T>(val); | 97 | 4 | } |
CBlockIndex*&& inline_assertion_check<false, CBlockIndex*>(CBlockIndex*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 17.7k | { | 91 | 17.7k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 17.7k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 17.7k | } | 96 | 17.7k | return std::forward<T>(val); | 97 | 17.7k | } |
unsigned int&& inline_assertion_check<false, unsigned int>(unsigned int&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 17.7M | { | 91 | 17.7M | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 17.7M | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 17.7M | } | 96 | 17.7M | return std::forward<T>(val); | 97 | 17.7M | } |
std::optional<AssumeutxoData> const& inline_assertion_check<true, std::optional<AssumeutxoData> const&>(std::optional<AssumeutxoData> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 6 | { | 91 | 6 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 6 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 6 | } | 96 | 6 | return std::forward<T>(val); | 97 | 6 | } |
std::optional<node::BlockfileCursor>& inline_assertion_check<true, std::optional<node::BlockfileCursor>&>(std::optional<node::BlockfileCursor>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 106k | { | 91 | 106k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 106k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 106k | } | 96 | 106k | return std::forward<T>(val); | 97 | 106k | } |
std::unique_ptr<node::KernelNotifications, std::default_delete<node::KernelNotifications>> const& inline_assertion_check<true, std::unique_ptr<node::KernelNotifications, std::default_delete<node::KernelNotifications>> const&>(std::unique_ptr<node::KernelNotifications, std::default_delete<node::KernelNotifications>> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 53.1k | { | 91 | 53.1k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 53.1k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 53.1k | } | 96 | 53.1k | return std::forward<T>(val); | 97 | 53.1k | } |
util::SignalInterrupt* const& inline_assertion_check<true, util::SignalInterrupt* const&>(util::SignalInterrupt* const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 9.50k | { | 91 | 9.50k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 9.50k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 9.50k | } | 96 | 9.50k | return std::forward<T>(val); | 97 | 9.50k | } |
Unexecuted instantiation: node::NodeContext*& inline_assertion_check<true, node::NodeContext*&>(node::NodeContext*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Unexecuted instantiation: node::NodeContext*&& inline_assertion_check<true, node::NodeContext*>(node::NodeContext*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Unexecuted instantiation: interfaces::WalletLoader*& inline_assertion_check<true, interfaces::WalletLoader*&>(interfaces::WalletLoader*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) std::optional<unsigned long> const& inline_assertion_check<true, std::optional<unsigned long> const&>(std::optional<unsigned long> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 168k | { | 91 | 168k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 168k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 168k | } | 96 | 168k | return std::forward<T>(val); | 97 | 168k | } |
std::optional<uint256> const& inline_assertion_check<false, std::optional<uint256> const&>(std::optional<uint256> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 69 | { | 91 | 69 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 69 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 69 | } | 96 | 69 | return std::forward<T>(val); | 97 | 69 | } |
std::optional<uint256>&& inline_assertion_check<false, std::optional<uint256>>(std::optional<uint256>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 43.5k | { | 91 | 43.5k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 43.5k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 43.5k | } | 96 | 43.5k | return std::forward<T>(val); | 97 | 43.5k | } |
bool const& inline_assertion_check<false, bool const&>(bool const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 501k | { | 91 | 501k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 501k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 501k | } | 96 | 501k | return std::forward<T>(val); | 97 | 501k | } |
FeeRateEstimationError*&& inline_assertion_check<true, FeeRateEstimationError*>(FeeRateEstimationError*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 3.63k | { | 91 | 3.63k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 3.63k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 3.63k | } | 96 | 3.63k | return std::forward<T>(val); | 97 | 3.63k | } |
node::ReadRawError const*&& inline_assertion_check<true, node::ReadRawError const*>(node::ReadRawError const*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 12 | { | 91 | 12 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 12 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 12 | } | 96 | 12 | return std::forward<T>(val); | 97 | 12 | } |
common::PSBTError const*&& inline_assertion_check<true, common::PSBTError const*>(common::PSBTError const*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 24.1k | { | 91 | 24.1k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 24.1k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 24.1k | } | 96 | 24.1k | return std::forward<T>(val); | 97 | 24.1k | } |
TxGraph::Ref const*& inline_assertion_check<false, TxGraph::Ref const*&>(TxGraph::Ref const*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2.76k | { | 91 | 2.76k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2.76k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2.76k | } | 96 | 2.76k | return std::forward<T>(val); | 97 | 2.76k | } |
txgraph.cpp:(anonymous namespace)::Cluster*& inline_assertion_check<false, (anonymous namespace)::Cluster*&>((anonymous namespace)::Cluster*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 175k | { | 91 | 175k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 175k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 175k | } | 96 | 175k | return std::forward<T>(val); | 97 | 175k | } |
Unexecuted instantiation: std::unique_ptr<CTxMemPool::ChangeSet, std::default_delete<CTxMemPool::ChangeSet>>& inline_assertion_check<false, std::unique_ptr<CTxMemPool::ChangeSet, std::default_delete<CTxMemPool::ChangeSet>>&>(std::unique_ptr<CTxMemPool::ChangeSet, std::default_delete<CTxMemPool::ChangeSet>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) std::shared_ptr<CBlock const>& inline_assertion_check<true, std::shared_ptr<CBlock const>&>(std::shared_ptr<CBlock const>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 106k | { | 91 | 106k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 106k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 106k | } | 96 | 106k | return std::forward<T>(val); | 97 | 106k | } |
uint256 const*& inline_assertion_check<true, uint256 const*&>(uint256 const*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 44.2k | { | 91 | 44.2k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 44.2k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 44.2k | } | 96 | 44.2k | return std::forward<T>(val); | 97 | 44.2k | } |
std::optional<int> const& inline_assertion_check<true, std::optional<int> const&>(std::optional<int> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 420k | { | 91 | 420k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 420k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 420k | } | 96 | 420k | return std::forward<T>(val); | 97 | 420k | } |
CBlockIndex* const& inline_assertion_check<false, CBlockIndex* const&>(CBlockIndex* const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 313k | { | 91 | 313k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 313k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 313k | } | 96 | 313k | return std::forward<T>(val); | 97 | 313k | } |
std::unique_ptr<Chainstate, std::default_delete<Chainstate>>&& inline_assertion_check<true, std::unique_ptr<Chainstate, std::default_delete<Chainstate>>>(std::unique_ptr<Chainstate, std::default_delete<Chainstate>>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 3 | { | 91 | 3 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 3 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 3 | } | 96 | 3 | return std::forward<T>(val); | 97 | 3 | } |
std::shared_ptr<CBlock const>& inline_assertion_check<false, std::shared_ptr<CBlock const>&>(std::shared_ptr<CBlock const>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 87.9k | { | 91 | 87.9k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 87.9k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 87.9k | } | 96 | 87.9k | return std::forward<T>(val); | 97 | 87.9k | } |
std::unique_ptr<util::TaskRunnerInterface, std::default_delete<util::TaskRunnerInterface>>& inline_assertion_check<true, std::unique_ptr<util::TaskRunnerInterface, std::default_delete<util::TaskRunnerInterface>>&>(std::unique_ptr<util::TaskRunnerInterface, std::default_delete<util::TaskRunnerInterface>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.36k | { | 91 | 1.36k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.36k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.36k | } | 96 | 1.36k | return std::forward<T>(val); | 97 | 1.36k | } |
std::optional<long> const& inline_assertion_check<true, std::optional<long> const&>(std::optional<long> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 3.71k | { | 91 | 3.71k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 3.71k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 3.71k | } | 96 | 3.71k | return std::forward<T>(val); | 97 | 3.71k | } |
CScheduler*& inline_assertion_check<true, CScheduler*&>(CScheduler*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 25 | { | 91 | 25 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 25 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 25 | } | 96 | 25 | return std::forward<T>(val); | 97 | 25 | } |
wallet::CWalletTx const*&& inline_assertion_check<true, wallet::CWalletTx const*>(wallet::CWalletTx const*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 5 | { | 91 | 5 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 5 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 5 | } | 96 | 5 | return std::forward<T>(val); | 97 | 5 | } |
std::unique_ptr<wallet::SQliteExecHandler, std::default_delete<wallet::SQliteExecHandler>>& inline_assertion_check<true, std::unique_ptr<wallet::SQliteExecHandler, std::default_delete<wallet::SQliteExecHandler>>&>(std::unique_ptr<wallet::SQliteExecHandler, std::default_delete<wallet::SQliteExecHandler>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 153k | { | 91 | 153k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 153k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 153k | } | 96 | 153k | return std::forward<T>(val); | 97 | 153k | } |
unsigned long&& inline_assertion_check<true, unsigned long>(unsigned long&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 666 | { | 91 | 666 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 666 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 666 | } | 96 | 666 | return std::forward<T>(val); | 97 | 666 | } |
ArgsManager* const& inline_assertion_check<true, ArgsManager* const&>(ArgsManager* const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.07k | { | 91 | 1.07k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.07k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.07k | } | 96 | 1.07k | return std::forward<T>(val); | 97 | 1.07k | } |
wallet::LegacyDataSPKM*& inline_assertion_check<false, wallet::LegacyDataSPKM*&>(wallet::LegacyDataSPKM*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 88 | { | 91 | 88 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 88 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 88 | } | 96 | 88 | return std::forward<T>(val); | 97 | 88 | } |
wallet::DescriptorScriptPubKeyMan*&& inline_assertion_check<true, wallet::DescriptorScriptPubKeyMan*>(wallet::DescriptorScriptPubKeyMan*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 433 | { | 91 | 433 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 433 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 433 | } | 96 | 433 | return std::forward<T>(val); | 97 | 433 | } |
util::Expected<std::vector<wallet::WalletDescInfo, std::allocator<wallet::WalletDescInfo>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>& inline_assertion_check<true, util::Expected<std::vector<wallet::WalletDescInfo, std::allocator<wallet::WalletDescInfo>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>&>(util::Expected<std::vector<wallet::WalletDescInfo, std::allocator<wallet::WalletDescInfo>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 7 | { | 91 | 7 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 7 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 7 | } | 96 | 7 | return std::forward<T>(val); | 97 | 7 | } |
std::optional<fs::path> const& inline_assertion_check<true, std::optional<fs::path> const&>(std::optional<fs::path> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 3.54k | { | 91 | 3.54k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 3.54k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 3.54k | } | 96 | 3.54k | return std::forward<T>(val); | 97 | 3.54k | } |
std::optional<std::pair<XOnlyPubKey, bool>>& inline_assertion_check<false, std::optional<std::pair<XOnlyPubKey, bool>>&>(std::optional<std::pair<XOnlyPubKey, bool>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 913 | { | 91 | 913 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 913 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 913 | } | 96 | 913 | return std::forward<T>(val); | 97 | 913 | } |
std::map<uint256, MuSig2SecNonce, std::less<uint256>, std::allocator<std::pair<uint256 const, MuSig2SecNonce>>>* const& inline_assertion_check<false, std::map<uint256, MuSig2SecNonce, std::less<uint256>, std::allocator<std::pair<uint256 const, MuSig2SecNonce>>>* const&>(std::map<uint256, MuSig2SecNonce, std::less<uint256>, std::allocator<std::pair<uint256 const, MuSig2SecNonce>>>* const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 587 | { | 91 | 587 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 587 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 587 | } | 96 | 587 | return std::forward<T>(val); | 97 | 587 | } |
|