From 2d12d810f487bf251289546a587cc525e23ca62c Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Tue, 4 Dec 2018 14:07:29 +0000 Subject: [PATCH] Fix "array must be initialized with a brace-enclosed initializer" build error. Try to fix clang-bpf-build buildbot. llvm-svn: 348262 --- clang-tools-extra/clangd/Headers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang-tools-extra/clangd/Headers.h b/clang-tools-extra/clangd/Headers.h index f67b5c6..6f0eb80 100644 --- a/clang-tools-extra/clangd/Headers.h +++ b/clang-tools-extra/clangd/Headers.h @@ -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 DirectIncludes; }; // FileURI and FileInclusions are references to keys of the map containing -- 2.7.4