OSDN Git Service

Fix -Wmissing-braces error.
authorZachary Turner <zturner@google.com>
Tue, 5 Dec 2017 23:19:33 +0000 (23:19 +0000)
committerZachary Turner <zturner@google.com>
Tue, 5 Dec 2017 23:19:33 +0000 (23:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319855 91177308-0d34-0410-b5e6-96231b3b80d8

lib/DebugInfo/CodeView/TypeHashing.cpp

index f9ab0f3..5757091 100644 (file)
@@ -20,8 +20,8 @@ LocallyHashedType DenseMapInfo<LocallyHashedType>::Tombstone{hash_code(-1), {}};
 
 static std::array<uint8_t, 20> EmptyHash;
 static std::array<uint8_t, 20> TombstoneHash = {
-    0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
+    {0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}};
 
 GloballyHashedType DenseMapInfo<GloballyHashedType>::Empty{EmptyHash};
 GloballyHashedType DenseMapInfo<GloballyHashedType>::Tombstone{TombstoneHash};