class SubCommand
Declaration
class SubCommand { /* full declaration omitted */ };
Declared at: llvm/include/llvm/Support/CommandLine.h:215
Member Variables
- public SmallVector<llvm::cl::Option*, 4> PositionalOpts
- public SmallVector<llvm::cl::Option*, 4> SinkOpts
- public StringMap<llvm::cl::Option*> OptionsMap
- public llvm::cl::Option* ConsumeAfterOpt = nullptr
Method Overview
- public SubCommand(llvm::StringRef Name, llvm::StringRef Description = "")
- public SubCommand()
- public llvm::StringRef getDescription() const
- public llvm::StringRef getName() const
- public bool operator bool() const
- protected void registerSubCommand()
- public void reset()
- protected void unregisterSubCommand()
Methods
¶SubCommand(llvm::StringRef Name,
llvm::StringRef Description = "")
SubCommand(llvm::StringRef Name,
llvm::StringRef Description = "")
Declared at: llvm/include/llvm/Support/CommandLine.h:225
Parameters
- llvm::StringRef Name
- llvm::StringRef Description = ""
¶SubCommand()
SubCommand()
Declared at: llvm/include/llvm/Support/CommandLine.h:229
¶llvm::StringRef getDescription() const
llvm::StringRef getDescription() const
Declared at: llvm/include/llvm/Support/CommandLine.h:236
¶llvm::StringRef getName() const
llvm::StringRef getName() const
Declared at: llvm/include/llvm/Support/CommandLine.h:235
¶bool operator bool() const
bool operator bool() const
Declared at: llvm/include/llvm/Support/CommandLine.h:233
¶void registerSubCommand()
void registerSubCommand()
Declared at: llvm/include/llvm/Support/CommandLine.h:221
¶void reset()
void reset()
Declared at: llvm/include/llvm/Support/CommandLine.h:231
¶void unregisterSubCommand()
void unregisterSubCommand()
Declared at: llvm/include/llvm/Support/CommandLine.h:222