summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang-tools-extra/clangd/CodeComplete.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/CodeComplete.cpp b/clang-tools-extra/clangd/CodeComplete.cpp
index 0bec281a388..dc2a6034413 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<StringRef>({FileName})) {}
CompletionList run(const SemaCompleteInput &SemaCCInput) && {
trace::Span Tracer("CodeCompleteFlow");
OpenPOWER on IntegriCloud