[clangd] Fix buildbot error.
authorHaojian Wu <hokein@google.com>
Fri, 15 Jun 2018 09:32:36 +0000 (09:32 +0000)
committerHaojian Wu <hokein@google.com>
Fri, 15 Jun 2018 09:32:36 +0000 (09:32 +0000)
llvm-svn: 334812

clang-tools-extra/clangd/CodeComplete.cpp

index 0bec281..dc2a603 100644 (file)
@@ -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<StringRef>({FileName})) {}
 
   CompletionList run(const SemaCompleteInput &SemaCCInput) && {
     trace::Span Tracer("CodeCompleteFlow");