diff options
author | Krasimir Georgiev <krasimir@google.com> | 2017-06-08 15:11:51 +0000 |
---|---|---|
committer | Krasimir Georgiev <krasimir@google.com> | 2017-06-08 15:11:51 +0000 |
commit | e6035a51f772b41ab0925956d0f6417b40277c08 (patch) | |
tree | 76e9f112d66693b5d0dfae0e5f3417cb86dcb664 /llvm/lib/Object/IRObjectFile.cpp | |
parent | 2ab6ee0dc48d88a67aa6e006675246a4765518e8 (diff) | |
download | llvm-e6035a51f772b41ab0925956d0f6417b40277c08.zip llvm-e6035a51f772b41ab0925956d0f6417b40277c08.tar.gz llvm-e6035a51f772b41ab0925956d0f6417b40277c08.tar.bz2 |
[clangd] Add parameter and return type information to completion results
Summary:
This patch adds information about the parameters and return types of completion
candidates.
Previously, for the following code:
```
struct S {
int func(int a, double b) const;
};
```
the completer would only return the label of the candidate `func`.
Now it will also return the return type `int` and will format the label for the
candidate as `func(int a, double b) const`.
Reviewers: bkramer, ilya-biryukov
Reviewed By: ilya-biryukov
Subscribers: cfe-commits
Tags: #clang-tools-extra
Differential Revision: https://reviews.llvm.org/D34033
llvm-svn: 304980
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions