LLVM 20.0.0git
|
#include "llvm/Support/CommandLine.h"
Public Member Functions | |
SubCommand (StringRef Name, StringRef Description="") | |
SubCommand ()=default | |
void | reset () |
operator bool () const | |
StringRef | getName () const |
StringRef | getDescription () const |
Static Public Member Functions | |
static SubCommand & | getTopLevel () |
static SubCommand & | getAll () |
Public Attributes | |
SmallVector< Option *, 4 > | PositionalOpts |
SmallVector< Option *, 4 > | SinkOpts |
StringMap< Option * > | OptionsMap |
Option * | ConsumeAfterOpt = nullptr |
Protected Member Functions | |
void | registerSubCommand () |
void | unregisterSubCommand () |
Definition at line 202 of file CommandLine.h.
Definition at line 212 of file CommandLine.h.
References registerSubCommand().
|
default |
|
static |
Definition at line 481 of file CommandLine.cpp.
References AllSubCommands.
|
inline |
Definition at line 230 of file CommandLine.h.
|
inline |
Definition at line 229 of file CommandLine.h.
|
static |
Definition at line 479 of file CommandLine.cpp.
References TopLevelSubCommand.
|
explicit |
Definition at line 499 of file CommandLine.cpp.
References GlobalParser.
|
protected |
Definition at line 483 of file CommandLine.cpp.
References GlobalParser.
Referenced by SubCommand().
void SubCommand::reset | ( | ) |
Definition at line 491 of file CommandLine.cpp.
References ConsumeAfterOpt, OptionsMap, PositionalOpts, and SinkOpts.
|
protected |
Definition at line 487 of file CommandLine.cpp.
References GlobalParser.
Option* llvm::cl::SubCommand::ConsumeAfterOpt = nullptr |
Definition at line 236 of file CommandLine.h.
Referenced by reset().
Definition at line 234 of file CommandLine.h.
Referenced by llvm::cl::getRegisteredOptions(), llvm::cl::HideUnrelatedOptions(), and reset().
SmallVector<Option *, 4> llvm::cl::SubCommand::PositionalOpts |
Definition at line 232 of file CommandLine.h.
Referenced by reset().
SmallVector<Option *, 4> llvm::cl::SubCommand::SinkOpts |
Definition at line 233 of file CommandLine.h.
Referenced by reset().