From 23d99f2f2c6f3e16dce2371141702d07bef40e95 Mon Sep 17 00:00:00 2001 From: BhaaL Date: Wed, 4 Jan 2017 12:45:40 +0100 Subject: 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 --- Source/Core/VideoCommon/CommandProcessor.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Source/Core/VideoCommon/CommandProcessor.h') 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; -- cgit v1.2.3