diff options
| author | BhaaL <bhaal@0x1337.org> | 2017-01-04 12:45:40 +0100 |
|---|---|---|
| committer | BhaaL <bhaal@0x1337.org> | 2017-01-05 12:55:13 +0100 |
| commit | 23d99f2f2c6f3e16dce2371141702d07bef40e95 (patch) | |
| tree | 88d0f4139cc7b56cc6dff3510c242a5cc2c79f15 /Source/Core/VideoCommon/CommandProcessor.h | |
| parent | 41101be545d4e2f10c77503a14b5236c870428ac (diff) | |
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
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.h')
| -rw-r--r-- | Source/Core/VideoCommon/CommandProcessor.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/CommandProcessor.h b/Source/Core/VideoCommon/CommandProcessor.h index 9ce4169baa..579e912849 100644 --- a/Source/Core/VideoCommon/CommandProcessor.h +++ b/Source/Core/VideoCommon/CommandProcessor.h @@ -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; |
