summaryrefslogtreecommitdiff
path: root/clang-tools-extra
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2018-06-15 09:32:36 +0000
committerHaojian Wu <hokein@google.com>2018-06-15 09:32:36 +0000
commit1f1220480e712499c564916106dc46ea301a0d1c (patch)
tree9abd9dfd1142f7752ce5715bc35b23fcd35ba66b /clang-tools-extra
parent6c216795f40b18700f9f1b19463a22341d746971 (diff)
[clangd] Fix buildbot error.
Diffstat (limited to 'clang-tools-extra')
-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");