mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-21 12:18:13 +02:00
Merge bitcoin/bitcoin#31306: ci: Update Clang in "tidy" job
31e59d94c6iwyu: Drop backported mapping (Hennadii Stepanov)fe9bc5abefci: Update Clang in "tidy" job (Hennadii Stepanov) Pull request description: This PR switches to the latest [IWYU 0.23](https://github.com/include-what-you-use/include-what-you-use/releases/tag/0.23), which is compatible with Clang 19. New "bugprone-use-after-move" and "modernize-use-starts-ends-with" warnings that emerged have been addressed. ACKs for top commit: maflcko: lgtm ACK31e59d94c6l0rinc: ACK31e59d94c6theuni: ACK31e59d94c6Tree-SHA512: ae0ca150673e1bfa78664f2ef35dbc965094b32374cafeeae390c6d368c28169a7f7790debe9a6eeb5efc39c9a468f5032d92f30cc4032b09d8265f6a75de882
This commit is contained in:
@@ -63,7 +63,8 @@ void ExpectSuccess(const util::Result<T>& result, const bilingual_str& str, Args
|
||||
{
|
||||
ExpectResult(result, true, str);
|
||||
BOOST_CHECK_EQUAL(result.has_value(), true);
|
||||
BOOST_CHECK_EQUAL(result.value(), T{std::forward<Args>(args)...});
|
||||
T expected{std::forward<Args>(args)...};
|
||||
BOOST_CHECK_EQUAL(result.value(), expected);
|
||||
BOOST_CHECK_EQUAL(&result.value(), &*result);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user