Fixup clang-tidy named argument comments

Fix comments so they are checked/consistent.
Fix incorrect arguments.
This commit is contained in:
fanquake
2022-10-03 09:37:27 +01:00
parent 38cbf43dee
commit 203886c443
21 changed files with 51 additions and 51 deletions

View File

@@ -107,12 +107,12 @@ BOOST_AUTO_TEST_CASE(potential_deadlock_detected)
#ifdef DEBUG_LOCKORDER
BOOST_AUTO_TEST_CASE(double_lock_mutex)
{
TestDoubleLock<Mutex>(true /* should throw */);
TestDoubleLock<Mutex>(/*should_throw=*/true);
}
BOOST_AUTO_TEST_CASE(double_lock_recursive_mutex)
{
TestDoubleLock<RecursiveMutex>(false /* should not throw */);
TestDoubleLock<RecursiveMutex>(/*should_throw=*/false);
}
#endif /* DEBUG_LOCKORDER */