MLIR  16.0.0git
Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::cl::detail::VectorParserBase< VectorT, ElementT > Class Template Reference

#include "mlir/Pass/PassOptions.h"

+ Inheritance diagram for llvm::cl::detail::VectorParserBase< VectorT, ElementT >:
+ Collaboration diagram for llvm::cl::detail::VectorParserBase< VectorT, ElementT >:

Public Types

using parser_data_type = VectorT
 

Public Member Functions

 VectorParserBase (Option &opt)
 
bool parse (Option &opt, StringRef argName, StringRef arg, parser_data_type &vector)
 
void printOptionInfo (const Option &opt, size_t globalWidth) const
 
size_t getOptionWidth (const Option &opt) const
 

Static Public Member Functions

static void print (raw_ostream &os, const VectorT &vector)
 

Detailed Description

template<typename VectorT, typename ElementT>
class llvm::cl::detail::VectorParserBase< VectorT, ElementT >

Definition at line 354 of file PassOptions.h.

Member Typedef Documentation

◆ parser_data_type

template<typename VectorT, typename ElementT>
using llvm::cl::detail::VectorParserBase< VectorT, ElementT >::parser_data_type = VectorT

Definition at line 358 of file PassOptions.h.

Constructor & Destructor Documentation

◆ VectorParserBase()

template<typename VectorT, typename ElementT>
llvm::cl::detail::VectorParserBase< VectorT, ElementT >::VectorParserBase ( Option &  opt)
inline

Definition at line 356 of file PassOptions.h.

Member Function Documentation

◆ getOptionWidth()

template<typename VectorT, typename ElementT>
size_t llvm::cl::detail::VectorParserBase< VectorT, ElementT >::getOptionWidth ( const Option &  opt) const
inline

Definition at line 389 of file PassOptions.h.

◆ parse()

template<typename VectorT, typename ElementT>
bool llvm::cl::detail::VectorParserBase< VectorT, ElementT >::parse ( Option &  opt,
StringRef  argName,
StringRef  arg,
parser_data_type vector 
)
inline

Definition at line 360 of file PassOptions.h.

◆ print()

template<typename VectorT, typename ElementT>
static void llvm::cl::detail::VectorParserBase< VectorT, ElementT >::print ( raw_ostream &  os,
const VectorT &  vector 
)
inlinestatic

Definition at line 372 of file PassOptions.h.

◆ printOptionInfo()

template<typename VectorT, typename ElementT>
void llvm::cl::detail::VectorParserBase< VectorT, ElementT >::printOptionInfo ( const Option &  opt,
size_t  globalWidth 
) const
inline

Definition at line 382 of file PassOptions.h.


The documentation for this class was generated from the following file: