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
@@ -7,7 +7,8 @@
|
||||
#include "Common/BitField.h"
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
union TestUnion {
|
||||
union TestUnion
|
||||
{
|
||||
u64 hex;
|
||||
|
||||
BitField<0, 64, u64> full_u64; // spans whole storage
|
||||
|
||||
Reference in new issue
Block a user