class SubCommand

Declaration

class SubCommand { /* full declaration omitted */ };

Declared at: llvm/include/llvm/Support/CommandLine.h:204

Member Variables

private llvm::StringRef Name
private llvm::StringRef Description
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

Methods

SubCommand(llvm::StringRef Name,
           llvm::StringRef Description = "")

Declared at: llvm/include/llvm/Support/CommandLine.h:214

Parameters

llvm::StringRef Name
llvm::StringRef Description = ""

SubCommand()

Declared at: llvm/include/llvm/Support/CommandLine.h:218

llvm::StringRef getDescription() const

Declared at: llvm/include/llvm/Support/CommandLine.h:225

llvm::StringRef getName() const

Declared at: llvm/include/llvm/Support/CommandLine.h:224

bool operator bool() const

Declared at: llvm/include/llvm/Support/CommandLine.h:222

void registerSubCommand()

Declared at: llvm/include/llvm/Support/CommandLine.h:210

void reset()

Declared at: llvm/include/llvm/Support/CommandLine.h:220

void unregisterSubCommand()

Declared at: llvm/include/llvm/Support/CommandLine.h:211