[clang-tools-extra] r334812 - [clangd] Fix buildbot error.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 15 02:32:37 PDT 2018


Author: hokein
Date: Fri Jun 15 02:32:36 2018
New Revision: 334812

URL: http://llvm.org/viewvc/llvm-project?rev=334812&view=rev
Log:
[clangd] Fix buildbot error.

Modified:
    clang-tools-extra/trunk/clangd/CodeComplete.cpp

Modified: clang-tools-extra/trunk/clangd/CodeComplete.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/CodeComplete.cpp?rev=334812&r1=334811&r2=334812&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/CodeComplete.cpp (original)
+++ clang-tools-extra/trunk/clangd/CodeComplete.cpp Fri Jun 15 02:32:36 2018
@@ -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");




More information about the cfe-commits mailing list