LLVM 22.0.0git
|
#include "llvm/Support/CommandLine.h"
Public Member Functions | |
SubCommand (StringRef Name, StringRef Description="") | |
SubCommand ()=default | |
LLVM_ABI void | reset () |
LLVM_ABI | operator bool () const |
StringRef | getName () const |
StringRef | getDescription () const |
Static Public Member Functions | |
static LLVM_ABI SubCommand & | getTopLevel () |
static LLVM_ABI SubCommand & | getAll () |
Public Attributes | |
SmallVector< Option *, 4 > | PositionalOpts |
SmallVector< Option *, 4 > | SinkOpts |
StringMap< Option * > | OptionsMap |
Option * | ConsumeAfterOpt = nullptr |
Protected Member Functions | |
LLVM_ABI void | registerSubCommand () |
LLVM_ABI void | unregisterSubCommand () |
Definition at line 204 of file CommandLine.h.
Definition at line 214 of file CommandLine.h.
References registerSubCommand().
Referenced by getAll(), getTopLevel(), and SubCommand().
|
default |
References LLVM_ABI, and SubCommand().
|
static |
Definition at line 500 of file CommandLine.cpp.
References AllSubCommands, and SubCommand().
|
inline |
Definition at line 232 of file CommandLine.h.
|
inline |
Definition at line 231 of file CommandLine.h.
|
static |
Definition at line 498 of file CommandLine.cpp.
References SubCommand(), and TopLevelSubCommand.
Referenced by llvm::cl::expandResponseFiles().
|
explicit |
Definition at line 518 of file CommandLine.cpp.
References GlobalParser.
|
protected |
Definition at line 502 of file CommandLine.cpp.
References GlobalParser.
Referenced by SubCommand().
void SubCommand::reset | ( | ) |
Definition at line 510 of file CommandLine.cpp.
References ConsumeAfterOpt, OptionsMap, PositionalOpts, and SinkOpts.
|
protected |
Definition at line 506 of file CommandLine.cpp.
References GlobalParser.
Option* llvm::cl::SubCommand::ConsumeAfterOpt = nullptr |
Definition at line 238 of file CommandLine.h.
Referenced by reset(), and llvm::cl::ResetAllOptionOccurrences().
Definition at line 236 of file CommandLine.h.
Referenced by reset(), and llvm::cl::ResetAllOptionOccurrences().
SmallVector<Option *, 4> llvm::cl::SubCommand::PositionalOpts |
Definition at line 234 of file CommandLine.h.
Referenced by reset(), and llvm::cl::ResetAllOptionOccurrences().
SmallVector<Option *, 4> llvm::cl::SubCommand::SinkOpts |
Definition at line 235 of file CommandLine.h.
Referenced by reset(), and llvm::cl::ResetAllOptionOccurrences().