llvm / llvm/llvm-project

LLDB command completion doesn't handle whitespaces in the typename

Open
#182,710 2 comments 0 reactions 0 assignees View on GitHub
lldb
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

LLDB command completion doesn't handle whitespaces in the typename. For example:
```
(lldb) type synthetic add 'Goo' -l test
(lldb) type synthetic list
-----------------------
Category: default
-----------------------
Goo: Python class test
-----------------------
Category: VectorTypes
-----------------------
-----------------------
Category: system
-----------------------
```

When we type `type synthetic delete` and call completion, status quo is:
```
(lldb) type synthetic delete Goo
```

But we want the typename to be in quotes instead:
```
(lldb) type synthetic delete 'Goo'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.