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:
BhaaL 2017-01-04 12:45:40 +01:00
parent 41101be545
commit 23d99f2f2c
47 changed files with 375 additions and 182 deletions

View file

@ -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