Reformat repo to clang-format 7.0 rules

This commit is contained in:
Techjar
2019-05-05 23:48:12 +00:00
parent d347867f2e
commit ff972e3673
208 changed files with 311 additions and 309 deletions

View File

@ -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

View File

@ -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

View File

@ -22,6 +22,7 @@ public:
}
bool EndExceptionRaised() const { return m_accov_raised; }
protected:
void OnEndException() override
{