mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Reformat repo to clang-format 7.0 rules
This commit is contained in:
@ -32,7 +32,10 @@ static u64 table[] = {
|
||||
0x8000000000000048ull, // regular_field = 0b1001
|
||||
|
||||
// "random" numbers
|
||||
0x0F7B8B1ABD9B8D3Full, 0xA8B86F73FDAADD2Dull, 0x1B17A557BFEB351Dull, 0xE3354268B0C2395Bull,
|
||||
0x0F7B8B1ABD9B8D3Full,
|
||||
0xA8B86F73FDAADD2Dull,
|
||||
0x1B17A557BFEB351Dull,
|
||||
0xE3354268B0C2395Bull,
|
||||
};
|
||||
|
||||
// Verify that bitfields in a union have the same underlying data
|
||||
|
@ -120,7 +120,7 @@ void FifoCallback(u64 userdata, s64 lateness)
|
||||
EXPECT_EQ(s_lateness, lateness);
|
||||
++s_counter;
|
||||
}
|
||||
}
|
||||
} // namespace SharedSlotTest
|
||||
|
||||
TEST(CoreTiming, SharedSlot)
|
||||
{
|
||||
@ -183,7 +183,7 @@ static void RescheduleCallback(u64 userdata, s64 lateness)
|
||||
if (s_reschedules > 0)
|
||||
CoreTiming::ScheduleEvent(1000, reinterpret_cast<CoreTiming::EventType*>(userdata), userdata);
|
||||
}
|
||||
}
|
||||
} // namespace ChainSchedulingTest
|
||||
|
||||
TEST(CoreTiming, ChainScheduling)
|
||||
{
|
||||
@ -235,7 +235,7 @@ static void ChainCallback(u64 userdata, s64 lateness)
|
||||
|
||||
CoreTiming::ScheduleEvent(-1000, s_cb_next, userdata - 1);
|
||||
}
|
||||
}
|
||||
} // namespace ScheduleIntoPastTest
|
||||
|
||||
// This can happen when scheduling from outside the CPU Thread.
|
||||
// Also, if the callback is very late, it may reschedule itself for the next period which
|
||||
|
@ -22,6 +22,7 @@ public:
|
||||
}
|
||||
|
||||
bool EndExceptionRaised() const { return m_accov_raised; }
|
||||
|
||||
protected:
|
||||
void OnEndException() override
|
||||
{
|
||||
|
Reference in New Issue
Block a user