|
LLVM
7.0.0
|
#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 195 of file CommandLine.h.
Definition at line 205 of file CommandLine.h.
|
default |
|
inline |
Definition at line 216 of file CommandLine.h.
Referenced by sortSubCommands().
|
inline |
Definition at line 215 of file CommandLine.h.
Referenced by llvm::cl::basic_parser_impl::anchor(), and sortSubCommands().
|
explicit |
Definition at line 399 of file CommandLine.cpp.
References llvm::cl::AllSubCommands, Arg, assert(), llvm::StringRef::empty(), llvm::StringRef::find(), I, llvm::StringRef::npos, OptionsMap, llvm::StringRef::substr(), and llvm::cl::TopLevelSubCommand.
|
protected |
Definition at line 383 of file CommandLine.cpp.
| void SubCommand::reset | ( | ) |
Definition at line 391 of file CommandLine.cpp.
|
protected |
Definition at line 387 of file CommandLine.cpp.
| Option* llvm::cl::SubCommand::ConsumeAfterOpt = nullptr |
Definition at line 222 of file CommandLine.h.
Referenced by llvm::cl::basic_parser_impl::anchor(), llvm::cl::ResetAllOptionOccurrences(), and sortSubCommands().
Definition at line 220 of file CommandLine.h.
Referenced by llvm::cl::basic_parser_impl::anchor(), llvm::cl::getRegisteredOptions(), llvm::cl::HideUnrelatedOptions(), operator bool(), llvm::cl::ResetAllOptionOccurrences(), and sortSubCommands().
| SmallVector<Option *, 4> llvm::cl::SubCommand::PositionalOpts |
Definition at line 218 of file CommandLine.h.
Referenced by llvm::cl::basic_parser_impl::anchor(), llvm::cl::ResetAllOptionOccurrences(), and sortSubCommands().
| SmallVector<Option *, 4> llvm::cl::SubCommand::SinkOpts |
Definition at line 219 of file CommandLine.h.
Referenced by llvm::cl::basic_parser_impl::anchor(), and llvm::cl::ResetAllOptionOccurrences().
1.8.13