diff options
author | Sam McCall <sam.mccall@gmail.com> | 2019-07-11 16:04:18 +0000 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2019-07-11 16:04:18 +0000 |
commit | 9470142ca59cfcf1e9184efbf408c5584a4a2a30 (patch) | |
tree | b339089ad6d4a8a8e57f907678f6e10cde50514c /lldb/packages/Python/lldbsuite/pre_kill_hook/linux.py | |
parent | 5cc7c9ab93996d9e52d8c40cb0ef1f835f4f7e7c (diff) | |
download | bcm5719-llvm-9470142ca59cfcf1e9184efbf408c5584a4a2a30.tar.gz bcm5719-llvm-9470142ca59cfcf1e9184efbf408c5584a4a2a30.zip |
[clangd] Implementation of auto type expansion.
Add a tweak for clangd to replace an auto keyword to the deduced type.
This way a user can declare something with auto and then have the
IDE/clangd replace auto with whatever type clangd thinks it is. In case
of long/complext types this makes is reduces writing effort for the
user.
The functionality is similar to the hover over the auto keyword.
Example (from the header):
```
/// Before:
/// auto x = Something();
/// ^^^^
/// After:
/// MyClass x = Something();
/// ^^^^^^^
```
Patch by kuhnel! (Christian Kühnel)
Differential Revision: https://reviews.llvm.org/D62855
llvm-svn: 365792
Diffstat (limited to 'lldb/packages/Python/lldbsuite/pre_kill_hook/linux.py')
0 files changed, 0 insertions, 0 deletions