From 7943d4fb199444cd76900f14890f6add1ea500ec Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Fri, 15 Jun 2018 09:32:36 +0000 Subject: [PATCH] [clangd] Fix buildbot error. llvm-svn: 334812 --- clang-tools-extra/clangd/CodeComplete.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang-tools-extra/clangd/CodeComplete.cpp b/clang-tools-extra/clangd/CodeComplete.cpp index 0bec281..dc2a603 100644 --- a/clang-tools-extra/clangd/CodeComplete.cpp +++ b/clang-tools-extra/clangd/CodeComplete.cpp @@ -858,7 +858,7 @@ public: // calculate the file proximity, which would capture include/ and src/ // project setup where headers and implementations are not in the same // directory. - FileProximityMatch({FileName}) {} + FileProximityMatch(ArrayRef({FileName})) {} CompletionList run(const SemaCompleteInput &SemaCCInput) && { trace::Span Tracer("CodeCompleteFlow"); -- 2.7.4