projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f64007f
)
[clangd] Fix buildbot error.
author
Haojian Wu
<hokein@google.com>
Fri, 15 Jun 2018 09:32:36 +0000
(09:32 +0000)
committer
Haojian Wu
<hokein@google.com>
Fri, 15 Jun 2018 09:32:36 +0000
(09:32 +0000)
llvm-svn: 334812
clang-tools-extra/clangd/CodeComplete.cpp
patch
|
blob
|
history
diff --git
a/clang-tools-extra/clangd/CodeComplete.cpp
b/clang-tools-extra/clangd/CodeComplete.cpp
index
0bec281
..
dc2a603
100644
(file)
--- 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");