LLVM
8.0.1
|
#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 208 of file CommandLine.h.
Definition at line 218 of file CommandLine.h.
|
default |
|
inline |
Definition at line 229 of file CommandLine.h.
Referenced by sortSubCommands().
|
inline |
Definition at line 228 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, llvm::cl::AlwaysPrefix, Arg, assert(), llvm::StringRef::empty(), llvm::StringRef::find(), I, Name, llvm::StringRef::npos, llvm::RISCVFenceField::O, 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 235 of file CommandLine.h.
Referenced by llvm::cl::basic_parser_impl::anchor(), llvm::cl::ResetAllOptionOccurrences(), and sortSubCommands().
Definition at line 233 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 231 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 232 of file CommandLine.h.
Referenced by llvm::cl::basic_parser_impl::anchor(), and llvm::cl::ResetAllOptionOccurrences().