[clang-tools-extra] r365140 - [clangd] Fix breakage on gcc 5.4

Kadir Cetinkaya via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 4 06:47:51 PDT 2019


Author: kadircet
Date: Thu Jul  4 06:47:51 2019
New Revision: 365140

URL: http://llvm.org/viewvc/llvm-project?rev=365140&view=rev
Log:
[clangd] Fix breakage on gcc 5.4

Modified:
    clang-tools-extra/trunk/clangd/index/Background.h

Modified: clang-tools-extra/trunk/clangd/index/Background.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/index/Background.h?rev=365140&r1=365139&r2=365140&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/index/Background.h (original)
+++ clang-tools-extra/trunk/clangd/index/Background.h Thu Jul  4 06:47:51 2019
@@ -96,7 +96,7 @@ public:
 private:
   /// Represents the state of a single file when indexing was performed.
   struct ShardVersion {
-    FileDigest Digest{0};
+    FileDigest Digest{{0}};
     bool HadErrors = false;
   };
 




More information about the cfe-commits mailing list