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 committed 2017-01-05 12:55:13 +01:00
1 parent 41101be545
commit 23d99f2f2c
47 files changed
+375 -182

No files matched your search

+2 -1
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