llvm::cl::opt::operator=

Assignment operators

Synopses

Declared in <llvm/Support/CommandLine.h>

Command line options are registered singletons and must not be copied.

opt&
operator=(opt const& Other) = delete;
» more...

Assign Val to this option and invoke the optional callback.

template<class T>
DataType&
operator=(T const& Val);
» more...

Move-assign Val to this option and invoke the optional callback.

template<class T>
DataType&
operator=(T&& Val);
» more...

Return Value

A reference to the stored option value.

Parameters

NameDescription
OtherUnused source option.
ValValue to assign.