class opt_storage

Declaration

template <class DataType, bool ExternalStorage, bool isClass>
class opt_storage { /* full declaration omitted */ };

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

Templates

DataType
bool ExternalStorage
bool isClass

Member Variables

private DataType* Location = nullptr
private OptionValue<DataType> Default

Method Overview

Methods

void check_location() const

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

const OptionValue<DataType>& getDefault() const

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

DataType& getValue()

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

const DataType& getValue() const

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

DataType operator type - parameter - 0 - 0() const

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

opt_storage<DataType, ExternalStorage, isClass>()

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

bool setLocation(llvm::cl::Option& O, DataType& L)

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

Parameters

llvm::cl::Option& O
DataType& L

template <class T>
void setValue(const T& V, bool initial = false)

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

Templates

T

Parameters

const T& V
bool initial = false