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:
1 parent
41101be545
commit
23d99f2f2c
47 files changed
+375
-182
No files matched your search
@@ -65,7 +65,8 @@ enum
|
||||
};
|
||||
|
||||
// UARAMCount
|
||||
union UARAMCount {
|
||||
union UARAMCount
|
||||
{
|
||||
u32 Hex;
|
||||
struct
|
||||
{
|
||||
@@ -75,7 +76,8 @@ union UARAMCount {
|
||||
};
|
||||
|
||||
// Blocks are 32 bytes.
|
||||
union UAudioDMAControl {
|
||||
union UAudioDMAControl
|
||||
{
|
||||
u16 Hex;
|
||||
struct
|
||||
{
|
||||
@@ -139,7 +141,8 @@ static AudioDMA g_audioDMA;
|
||||
static ARAM_DMA g_arDMA;
|
||||
UDSPControl g_dspState;
|
||||
|
||||
union ARAM_Info {
|
||||
union ARAM_Info
|
||||
{
|
||||
u16 Hex;
|
||||
struct
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user