summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/BitFieldTest.cpp
diff options
context:
space:
mode:
authorBhaaL <bhaal@0x1337.org>2017-01-04 12:45:40 +0100
committerBhaaL <bhaal@0x1337.org>2017-01-05 12:55:13 +0100
commit23d99f2f2c6f3e16dce2371141702d07bef40e95 (patch)
tree88d0f4139cc7b56cc6dff3510c242a5cc2c79f15 /Source/UnitTests/Common/BitFieldTest.cpp
parent41101be545d4e2f10c77503a14b5236c870428ac (diff)
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
Diffstat (limited to 'Source/UnitTests/Common/BitFieldTest.cpp')
-rw-r--r--Source/UnitTests/Common/BitFieldTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/UnitTests/Common/BitFieldTest.cpp b/Source/UnitTests/Common/BitFieldTest.cpp
index 5c7e4a0ccf..d63d860d82 100644
--- a/Source/UnitTests/Common/BitFieldTest.cpp
+++ b/Source/UnitTests/Common/BitFieldTest.cpp
@@ -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