diff options
author | David Peixotto <peix@meta.com> | 2025-07-15 12:44:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-15 12:44:00 -0700 |
commit | fccae859bc949ba390184614e07234267a734b86 (patch) | |
tree | c73a538cce7754b35134d044ebbbd591fa6ff5c9 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d67d91a9906366585162cebf292f923a3f28c8a6 (diff) | |
download | llvm-fccae859bc949ba390184614e07234267a734b86.zip llvm-fccae859bc949ba390184614e07234267a734b86.tar.gz llvm-fccae859bc949ba390184614e07234267a734b86.tar.bz2 |
[lldb] Add completions for plugin list/enable/disable (#147775)
This commit adds completion support for the plugin commands. It will try
to complete partial namespaces to the full namespace string. If the
completion input is already a full namespace string then it will add all
the matching plugins in that namespace as completions.
This lets the user complete to the namespace first and then tab-complete
to the next level if desired.
```
(lldb) plugin list a<tab>
Available completions:
abi
architecture
(lldb) plugin list ab<tab>
(lldb) plugin list abi<tab>
(lldb) plugin list abi.<tab>
Available completions:
abi.SysV-arm64
abi.ABIMacOSX_arm64
abi.SysV-arm
...
```
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions