LLVM 20.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
[legend]

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 )
inline

Definition at line 895 of file CommandLine.h.

◆ ~basic_parser_impl()

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

Member Function Documentation

◆ anchor()

void basic_parser_impl::anchor ( )
virtual

◆ getExtraOptionNames()

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

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
inline

Definition at line 899 of file CommandLine.h.

References llvm::cl::ValueRequired.

◆ getValueName()

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

◆ initialize()

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

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
protected

Definition at line 1963 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 2245 of file CommandLine.cpp.

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


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