llvm-project/bolt/lib/Utils
Nicolai Hähnle f7872cdce1 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
2022-08-02 23:49:16 +02:00
..
CMakeLists.txt [BOLT] Fix Windows build 2021-11-11 18:14:53 -08:00
CommandLineOpts.cpp CommandLine: add and use cl::SubCommand::get{All,TopLevel} 2022-08-02 23:49:16 +02:00
Utils.cpp [BOLT][NFC] Reduce includes with include-what-you-use 2022-01-21 12:05:47 -08:00