[llvm] r319855 - Fix -Wmissing-braces error.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 15:19:33 PST 2017


Author: zturner
Date: Tue Dec  5 15:19:33 2017
New Revision: 319855

URL: http://llvm.org/viewvc/llvm-project?rev=319855&view=rev
Log:
Fix -Wmissing-braces error.

Modified:
    llvm/trunk/lib/DebugInfo/CodeView/TypeHashing.cpp

Modified: llvm/trunk/lib/DebugInfo/CodeView/TypeHashing.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/CodeView/TypeHashing.cpp?rev=319855&r1=319854&r2=319855&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/CodeView/TypeHashing.cpp (original)
+++ llvm/trunk/lib/DebugInfo/CodeView/TypeHashing.cpp Tue Dec  5 15:19:33 2017
@@ -20,8 +20,8 @@ LocallyHashedType DenseMapInfo<LocallyHa
 
 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};




More information about the llvm-commits mailing list