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

Methods

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

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

Parameters

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

SubCommand()

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

llvm::StringRef getDescription() const

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

llvm::StringRef getName() const

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

bool operator bool() const

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

void registerSubCommand()

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

void reset()

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

void unregisterSubCommand()

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