diff options
author | Kadir Cetinkaya <kadircet@google.com> | 2020-01-13 17:21:31 +0100 |
---|---|---|
committer | Kadir Cetinkaya <kadircet@google.com> | 2020-01-15 15:55:46 +0100 |
commit | 44f9c7a820c1e5fb949f441214a46b13588ff51a (patch) | |
tree | 8a96652720559594addf7fc4dc5fcccf66be3534 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | d74a3d470c316f8fade90fe231fc0a51361c01e6 (diff) | |
download | llvm-44f9c7a820c1e5fb949f441214a46b13588ff51a.zip llvm-44f9c7a820c1e5fb949f441214a46b13588ff51a.tar.gz llvm-44f9c7a820c1e5fb949f441214a46b13588ff51a.tar.bz2 |
[clangd] Rearrange type, returntype and parameters in hover card
Summary:
Moves type/returntype into its own line as it is more readable in cases
where the type is long.
Also gives parameter lists a heading, `Parameters:` to make them stand out.
Leaves the `right arrow` instead of `Returns: ` before Return Type to make
output more symmetric.
```
function foo
Returns: ret_type
Parameters:
- int x
```
vs
```
function foo
🡺 ret_type
Parameters:
- int x
```
Reviewers: sammccall, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72623
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions