mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 01:59:02 +00:00
specify custom brace style to fix unions
BreakBeforeBraces: Allman apparently includes all styles, except for AfterUnion (which is false) when using clang-format -dump-config
This commit is contained in:
parent
41101be545
commit
23d99f2f2c
47 changed files with 375 additions and 182 deletions
|
@ -71,7 +71,8 @@ enum
|
|||
};
|
||||
|
||||
// Fifo Status Register
|
||||
union UCPStatusReg {
|
||||
union UCPStatusReg
|
||||
{
|
||||
struct
|
||||
{
|
||||
u16 OverflowHiWatermark : 1;
|
||||
|
@ -87,7 +88,8 @@ union UCPStatusReg {
|
|||
};
|
||||
|
||||
// Fifo Control Register
|
||||
union UCPCtrlReg {
|
||||
union UCPCtrlReg
|
||||
{
|
||||
struct
|
||||
{
|
||||
u16 GPReadEnable : 1;
|
||||
|
@ -104,7 +106,8 @@ union UCPCtrlReg {
|
|||
};
|
||||
|
||||
// Fifo Clear Register
|
||||
union UCPClearReg {
|
||||
union UCPClearReg
|
||||
{
|
||||
struct
|
||||
{
|
||||
u16 ClearFifoOverflow : 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue