LLVM
15.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 |
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 204 of file CommandLine.h.
Definition at line 214 of file CommandLine.h.
References registerSubCommand().
|
default |
|
inline |
Definition at line 225 of file CommandLine.h.
|
inline |
Definition at line 224 of file CommandLine.h.
|
explicit |
Definition at line 510 of file CommandLine.cpp.
References GlobalParser.
|
protected |
Definition at line 494 of file CommandLine.cpp.
References GlobalParser.
Referenced by SubCommand().
void SubCommand::reset | ( | ) |
Definition at line 502 of file CommandLine.cpp.
References ConsumeAfterOpt, OptionsMap, PositionalOpts, and SinkOpts.
|
protected |
Definition at line 498 of file CommandLine.cpp.
References GlobalParser.
Option* llvm::cl::SubCommand::ConsumeAfterOpt = nullptr |
Definition at line 231 of file CommandLine.h.
Referenced by reset().
Definition at line 229 of file CommandLine.h.
Referenced by llvm::cl::getRegisteredOptions(), llvm::cl::HideUnrelatedOptions(), and reset().
SmallVector<Option *, 4> llvm::cl::SubCommand::PositionalOpts |
Definition at line 227 of file CommandLine.h.
Referenced by reset().
SmallVector<Option *, 4> llvm::cl::SubCommand::SinkOpts |
Definition at line 228 of file CommandLine.h.
Referenced by reset().