LLVM  8.0.1
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 &)
 
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

 ~basic_parser_impl ()=default
 
void printOptionName (const Option &O, size_t GlobalWidth) const
 

Detailed Description

Definition at line 822 of file CommandLine.h.

Constructor & Destructor Documentation

◆ basic_parser_impl()

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

Definition at line 824 of file CommandLine.h.

◆ ~basic_parser_impl()

llvm::cl::basic_parser_impl::~basic_parser_impl ( )
protecteddefault

Member Function Documentation

◆ anchor()

void basic_parser_impl::anchor ( )
virtual

Reimplemented in llvm::cl::parser< char >, llvm::cl::parser< std::string >, llvm::cl::parser< float >, llvm::cl::parser< double >, llvm::cl::parser< unsigned long long >, llvm::cl::parser< unsigned >, llvm::cl::parser< int >, llvm::cl::parser< boolOrDefault >, and llvm::cl::parser< bool >.

Definition at line 77 of file CommandLine.cpp.

References llvm::cl::AllSubCommands, Arg, llvm::cl::Option::ArgStr, assert(), llvm::SmallPtrSetImpl< PtrType >::begin(), llvm::SmallPtrSetImplBase::clear(), llvm::cl::ConsumeAfter, llvm::cl::SubCommand::ConsumeAfterOpt, llvm::count_if(), E, llvm::StringRef::empty(), llvm::SmallPtrSetImpl< PtrType >::end(), llvm::SmallPtrSetImpl< PtrType >::erase(), llvm::cl::Option::error(), llvm::errs(), llvm::cl::Option::getExtraOptionNames(), llvm::cl::Option::getFormattingFlag(), llvm::cl::Option::getMiscFlags(), llvm::cl::OptionCategory::getName(), llvm::cl::SubCommand::getName(), llvm::cl::Option::getNumOccurrencesFlag(), llvm::cl::getRegisteredSubcommands(), llvm::cl::Option::hasArgStr(), llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::cl::Option::isConsumeAfter(), llvm::cl::Option::isInAllSubCommands(), llvm::cl::Option::isPositional(), llvm::cl::Option::isSink(), llvm::make_range(), Name, llvm::RISCVFenceField::O, llvm::cl::SubCommand::OptionsMap, llvm::cl::ParseCommandLineOptions(), llvm::cl::Positional, llvm::cl::SubCommand::PositionalOpts, llvm::SmallVectorTemplateBase< T >::push_back(), llvm::report_fatal_error(), llvm::cl::ResetAllOptionOccurrences(), llvm::PPCISD::SC, llvm::cl::Sink, llvm::cl::SubCommand::SinkOpts, llvm::cl::Option::Subs, and llvm::cl::TopLevelSubCommand.

◆ getExtraOptionNames()

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

Definition at line 830 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 826 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 832 of file CommandLine.h.

References llvm::RISCVFenceField::O.

◆ 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

◆ printOptionNoValue()

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

Definition at line 1773 of file CommandLine.cpp.

References llvm::outs().


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