Fix "array must be initialized with a brace-enclosed initializer" build error.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 4 Dec 2018 14:07:29 +0000 (14:07 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 4 Dec 2018 14:07:29 +0000 (14:07 +0000)
Try to fix clang-bpf-build buildbot.

llvm-svn: 348262

clang-tools-extra/clangd/Headers.h

index f67b5c6..6f0eb80 100644 (file)
@@ -55,7 +55,7 @@ struct IncludeGraphNode {
   // True if current file is a main file rather than a header.
   bool IsTU = false;
   llvm::StringRef URI;
-  FileDigest Digest{0};
+  FileDigest Digest{{0}};
   std::vector<llvm::StringRef> DirectIncludes;
 };
 // FileURI and FileInclusions are references to keys of the map containing