|
LLVM
4.0.0
|
#include <CommandLine.h>
Public Member Functions | |
| SubCommand (StringRef Name, StringRef Description="") | |
| SubCommand ()=default | |
| void | reset () |
| operator bool () const | |
| StringRef | getName () const |
| StringRef | getDescription () const |
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 186 of file CommandLine.h.
Definition at line 196 of file CommandLine.h.
References registerSubCommand().
|
default |
|
inline |
Definition at line 207 of file CommandLine.h.
|
inline |
Definition at line 206 of file CommandLine.h.
|
explicit |
Definition at line 409 of file CommandLine.cpp.
References GlobalParser.
|
protected |
Definition at line 393 of file CommandLine.cpp.
References GlobalParser.
Referenced by SubCommand().
| void SubCommand::reset | ( | ) |
Definition at line 401 of file CommandLine.cpp.
References ConsumeAfterOpt, OptionsMap, PositionalOpts, and SinkOpts.
|
protected |
Definition at line 397 of file CommandLine.cpp.
References GlobalParser.
| Option* llvm::cl::SubCommand::ConsumeAfterOpt = nullptr |
Definition at line 213 of file CommandLine.h.
Referenced by reset().
Definition at line 211 of file CommandLine.h.
Referenced by llvm::cl::getRegisteredOptions(), llvm::cl::HideUnrelatedOptions(), reset(), and llvm::cl::ResetAllOptionOccurrences().
| SmallVector<Option *, 4> llvm::cl::SubCommand::PositionalOpts |
Definition at line 209 of file CommandLine.h.
Referenced by reset().
| SmallVector<Option *, 4> llvm::cl::SubCommand::SinkOpts |
Definition at line 210 of file CommandLine.h.
Referenced by reset().
1.8.6