|
LLVM
10.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 215 of file CommandLine.h.
Definition at line 225 of file CommandLine.h.
|
default |
|
inline |
Definition at line 236 of file CommandLine.h.
Referenced by sortSubCommands().
|
inline |
Definition at line 235 of file CommandLine.h.
Referenced by sortSubCommands().
|
explicit |
Definition at line 511 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 495 of file CommandLine.cpp.
| void SubCommand::reset | ( | ) |
Definition at line 503 of file CommandLine.cpp.
|
protected |
Definition at line 499 of file CommandLine.cpp.
| Option* llvm::cl::SubCommand::ConsumeAfterOpt = nullptr |
Definition at line 242 of file CommandLine.h.
Referenced by isPrefixedOrGrouping(), llvm::cl::ResetAllOptionOccurrences(), and sortSubCommands().
Definition at line 240 of file CommandLine.h.
Referenced by llvm::cl::getRegisteredOptions(), llvm::cl::HideUnrelatedOptions(), isPrefixedOrGrouping(), operator bool(), llvm::cl::ResetAllOptionOccurrences(), and sortSubCommands().
| SmallVector<Option *, 4> llvm::cl::SubCommand::PositionalOpts |
Definition at line 238 of file CommandLine.h.
Referenced by isPrefixedOrGrouping(), llvm::cl::ResetAllOptionOccurrences(), and sortSubCommands().
| SmallVector<Option *, 4> llvm::cl::SubCommand::SinkOpts |
Definition at line 239 of file CommandLine.h.
Referenced by isPrefixedOrGrouping(), and llvm::cl::ResetAllOptionOccurrences().
1.8.13