LLVM 19.0.0git
Public Member Functions | Protected Member Functions | List of all members
llvm::cl::basic_parser_impl Class Reference

#include "llvm/Support/CommandLine.h"

Inheritance diagram for llvm::cl::basic_parser_impl:
Inheritance graph

Public Member Functions

 basic_parser_impl (Option &)
virtual ~basic_parser_impl ()=default
enum ValueExpected getValueExpectedFlagDefault () const
void getExtraOptionNames (SmallVectorImpl< StringRef > &)
void initialize ()
size_t getOptionWidth (const Option &O) const
void printOptionInfo (const Option &O, size_t GlobalWidth) const
void printOptionNoValue (const Option &O, size_t GlobalWidth) const
virtual StringRef getValueName () const
virtual void anchor ()

Protected Member Functions

void printOptionName (const Option &O, size_t GlobalWidth) const

Detailed Description

Definition at line 893 of file CommandLine.h.

Constructor & Destructor Documentation

◆ basic_parser_impl()

llvm::cl::basic_parser_impl::basic_parser_impl ( Option )

Definition at line 895 of file CommandLine.h.

◆ ~basic_parser_impl()

virtual llvm::cl::basic_parser_impl::~basic_parser_impl ( )

Member Function Documentation

◆ anchor()

void basic_parser_impl::anchor ( )

◆ getExtraOptionNames()

void llvm::cl::basic_parser_impl::getExtraOptionNames ( SmallVectorImpl< StringRef > &  )

Definition at line 903 of file CommandLine.h.

◆ getOptionWidth()

size_t basic_parser_impl::getOptionWidth ( const Option O) const

◆ getValueExpectedFlagDefault()

enum ValueExpected llvm::cl::basic_parser_impl::getValueExpectedFlagDefault ( ) const

Definition at line 899 of file CommandLine.h.

References llvm::cl::ValueRequired.

◆ getValueName()

virtual StringRef llvm::cl::basic_parser_impl::getValueName ( ) const

◆ initialize()

void llvm::cl::basic_parser_impl::initialize ( )

Definition at line 905 of file CommandLine.h.

◆ printOptionInfo()

void basic_parser_impl::printOptionInfo ( const Option O,
size_t  GlobalWidth 
) const

◆ printOptionName()

void basic_parser_impl::printOptionName ( const Option O,
size_t  GlobalWidth 
) const

Definition at line 1947 of file CommandLine.cpp.

References llvm::raw_ostream::indent(), and llvm::outs().

Referenced by printOptionNoValue().

◆ printOptionNoValue()

void basic_parser_impl::printOptionNoValue ( const Option O,
size_t  GlobalWidth 
) const

Definition at line 2251 of file CommandLine.cpp.

References llvm::outs(), and printOptionName().

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