summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/CodeComplete.cpp
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
commit7943d4fb199444cd76900f14890f6add1ea500ec (patch)
tree4929e63d588ffcde4e9dd3b583f05d0574bdf161 /clang-tools-extra/clangd/CodeComplete.cpp
parentf64007fe82dba23ac18005f89bcf805769cc30e6 (diff)
downloadbcm5719-llvm-7943d4fb199444cd76900f14890f6add1ea500ec.tar.gz
bcm5719-llvm-7943d4fb199444cd76900f14890f6add1ea500ec.zip
[clangd] Fix buildbot error.
llvm-svn: 334812
Diffstat (limited to 'clang-tools-extra/clangd/CodeComplete.cpp')
-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