diff options
| author | v1nh1shungry <v1nh1shungry@outlook.com> | 2023-01-13 03:15:13 +0100 |
|---|---|---|
| committer | Sam McCall <sam.mccall@gmail.com> | 2023-01-13 03:26:33 +0100 |
| commit | 1feb7af046889728233e67e3163ab30020207bb2 (patch) | |
| tree | c5a5a00420b585884133f786d7456d6e37f6f6a2 /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | 1eaadaea5090f88d4e26331a5046a1a07f15a6ea (diff) | |
[clangd] support expanding `decltype(expr)`
Enable the existing tweak `ExpandAutoType` to expand
`decltype(expr)`, e.g.
```
decltype(0) i;
```
will expand to
```
int i;
```
Therefore, rename the tweak `ExpandAutoType` to `ExpandDeducedType`.
This patch also fixes some nits,
* avoid replacing reference to a function
* avoid replacing array types and reference to an array
Fixes https://github.com/clangd/clangd/issues/1456
Reviewed By: sammccall
Differential Revision: https://reviews.llvm.org/D141226
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
