summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/ASTUnit.cpp
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2018-08-30 13:08:03 +0000
committerIlya Biryukov <ibiryukov@google.com>2018-08-30 13:08:03 +0000
commit2fab235316e6e35300e632fe1cf1312aeaa7d68c (patch)
treeae5f9a0cb223d820b2a972f9893f79324f45e614 /clang/lib/Frontend/ASTUnit.cpp
parent9c16d809d2f602557657dc4f33cbeba92fb4fbd2 (diff)
downloadbcm5719-llvm-2fab235316e6e35300e632fe1cf1312aeaa7d68c.tar.gz
bcm5719-llvm-2fab235316e6e35300e632fe1cf1312aeaa7d68c.zip
[CodeComplete] Report location of opening parens for signature help
Summary: Used in clangd. Reviewers: sammccall Reviewed By: sammccall Subscribers: ioeric, kadircet, cfe-commits Differential Revision: https://reviews.llvm.org/D51436 llvm-svn: 341063
Diffstat (limited to 'clang/lib/Frontend/ASTUnit.cpp')
-rw-r--r--clang/lib/Frontend/ASTUnit.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/Frontend/ASTUnit.cpp b/clang/lib/Frontend/ASTUnit.cpp
index 701f07f22e3..b91870c291c 100644
--- a/clang/lib/Frontend/ASTUnit.cpp
+++ b/clang/lib/Frontend/ASTUnit.cpp
@@ -1911,8 +1911,10 @@ namespace {
void ProcessOverloadCandidates(Sema &S, unsigned CurrentArg,
OverloadCandidate *Candidates,
- unsigned NumCandidates) override {
- Next.ProcessOverloadCandidates(S, CurrentArg, Candidates, NumCandidates);
+ unsigned NumCandidates,
+ SourceLocation OpenParLoc) override {
+ Next.ProcessOverloadCandidates(S, CurrentArg, Candidates, NumCandidates,
+ OpenParLoc);
}
CodeCompletionAllocator &getAllocator() override {
OpenPOWER on IntegriCloud