diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2022-06-29 12:32:45 +0200 |
---|---|---|
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2022-08-02 23:49:16 +0200 |
commit | f7872cdce1102a5c12633dad462a1d9763a578d3 (patch) | |
tree | 2866aa0bdcc13049c2fd7fda2bb50ae8d616f646 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | e8468ddebc6d2fff1a008777300cfd3df0f87524 (diff) | |
download | llvm-f7872cdce1102a5c12633dad462a1d9763a578d3.zip llvm-f7872cdce1102a5c12633dad462a1d9763a578d3.tar.gz llvm-f7872cdce1102a5c12633dad462a1d9763a578d3.tar.bz2 |
CommandLine: add and use cl::SubCommand::get{All,TopLevel}
Prefer using these accessors to access the special sub-commands
corresponding to the top-level (no subcommand) and all sub-commands.
This is a preparatory step towards removing the use of ManagedStatic:
with a subsequent change, these global instances will be moved to
be regular function-scope statics.
It is split up to give downstream projects a (albeit short) window in
which they can switch to using the accessors in a forward-compatible
way.
Differential Revision: https://reviews.llvm.org/D129118
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions