|
LLVM
3.7.0
|
#include <CommandLine.h>
Public Attributes | |
| const char * | ArgStr |
| const char * | HelpStr |
| const char * | ValueStr |
| OptionCategory * | Category |
| bool | FullyInitialized |
Protected Member Functions | |
| Option (enum NumOccurrencesFlag OccurrencesFlag, enum OptionHidden Hidden) | |
| void | setNumAdditionalVals (unsigned n) |
Friends | |
| class | alias |
Definition at line 178 of file CommandLine.h.
|
inlineexplicitprotected |
Definition at line 249 of file CommandLine.h.
|
inlinevirtual |
Definition at line 291 of file CommandLine.h.
| void Option::addArgument | ( | ) |
Definition at line 223 of file CommandLine.cpp.
References FullyInitialized, and GlobalParser.
|
virtual |
Definition at line 1121 of file CommandLine.cpp.
References llvm::cl::ConsumeAfter, error(), getNumOccurrencesFlag(), llvm::cl::OneOrMore, llvm::cl::Required, and llvm::cl::ZeroOrMore.
Referenced by CommaSeparateAndAddOccurrence().
Definition at line 1109 of file CommandLine.cpp.
References ArgStr, llvm::StringRef::data(), llvm::StringRef::empty(), llvm::errs(), GlobalParser, and HelpStr.
Referenced by addOccurrence(), llvm::cl::parser< const PassInfo * >::parse(), parseDouble(), ProvideOption(), llvm::cl::alias::setAliasFor(), llvm::cl::opt_storage< DataType, ExternalStorage, std::is_class< DataType >::value >::setLocation(), llvm::cl::list_storage< DataType, StorageClass >::setLocation(), and llvm::cl::bits_storage< DataType, Storage >::setLocation().
|
inlinevirtual |
Definition at line 279 of file CommandLine.h.
Referenced by LookupNearestOption().
|
inline |
Definition at line 224 of file CommandLine.h.
Referenced by HandlePrefixedOrGroupedOption(), isGrouping(), and isPrefixedOrGrouping().
|
inline |
Definition at line 227 of file CommandLine.h.
Referenced by CommaSeparateAndAddOccurrence().
|
inline |
Definition at line 229 of file CommandLine.h.
Referenced by ProvideOption().
|
inline |
Definition at line 290 of file CommandLine.h.
|
inline |
Definition at line 215 of file CommandLine.h.
Referenced by addOccurrence(), EatsUnboundedNumberOfValues(), and RequiresValue().
|
inline |
Definition at line 221 of file CommandLine.h.
|
pure virtual |
|
inline |
Definition at line 228 of file CommandLine.h.
|
inline |
Definition at line 218 of file CommandLine.h.
Referenced by HandlePrefixedOrGroupedOption(), LookupNearestOption(), and ProvideOption().
|
inline |
Definition at line 232 of file CommandLine.h.
References ArgStr.
Referenced by llvm::cl::generic_parser_base::getExtraOptionNames(), llvm::cl::generic_parser_base::getOptionWidth(), llvm::cl::generic_parser_base::getValueExpectedFlagDefault(), llvm::cl::parser< const PassInfo * >::parse(), and llvm::cl::generic_parser_base::printOptionInfo().
|
pure virtual |
|
pure virtual |
| void Option::removeArgument | ( | ) |
Unregisters this option from the CommandLine system.
This option must have been the last option registered. For testing purposes only.
Definition at line 228 of file CommandLine.cpp.
References GlobalParser.
| void Option::setArgStr | ( | const char * | S | ) |
Definition at line 230 of file CommandLine.cpp.
References ArgStr, FullyInitialized, and GlobalParser.
|
inline |
Definition at line 246 of file CommandLine.h.
References llvm::CallingConv::C, and Category.
|
inline |
Definition at line 238 of file CommandLine.h.
References HelpStr.
Referenced by llvm::cl::desc::apply().
|
inline |
Definition at line 243 of file CommandLine.h.
Referenced by llvm::cl::applicator< FormattingFlags >::opt().
|
inline |
Definition at line 242 of file CommandLine.h.
Referenced by llvm::cl::applicator< OptionHidden >::opt().
|
inline |
Definition at line 244 of file CommandLine.h.
Referenced by llvm::cl::applicator< MiscFlags >::opt().
|
inlineprotected |
Definition at line 256 of file CommandLine.h.
Referenced by llvm::cl::list< DataType, StorageClass, ParserClass >::setNumAdditionalVals().
|
inline |
Definition at line 240 of file CommandLine.h.
Referenced by llvm::cl::applicator< NumOccurrencesFlag >::opt().
|
inline |
Definition at line 245 of file CommandLine.h.
|
inline |
Definition at line 241 of file CommandLine.h.
Referenced by llvm::cl::applicator< ValueExpected >::opt().
|
inline |
Definition at line 239 of file CommandLine.h.
References ValueStr.
Referenced by llvm::cl::value_desc::apply().
|
friend |
Definition at line 179 of file CommandLine.h.
| const char* llvm::cl::Option::ArgStr |
Definition at line 209 of file CommandLine.h.
Referenced by error(), llvm::cl::generic_parser_base::getOptionWidth(), llvm::cl::basic_parser_impl::getOptionWidth(), hasArgStr(), LookupNearestOption(), llvm::cl::generic_parser_base::printGenericOptionDiff(), llvm::cl::generic_parser_base::printOptionInfo(), llvm::cl::basic_parser_impl::printOptionInfo(), llvm::cl::basic_parser_impl::printOptionName(), ProvidePositionalOption(), and setArgStr().
| OptionCategory* llvm::cl::Option::Category |
Definition at line 212 of file CommandLine.h.
Referenced by setCategory().
| bool llvm::cl::Option::FullyInitialized |
Definition at line 213 of file CommandLine.h.
Referenced by addArgument(), and setArgStr().
| const char* llvm::cl::Option::HelpStr |
Definition at line 210 of file CommandLine.h.
Referenced by error(), llvm::cl::generic_parser_base::printOptionInfo(), llvm::cl::basic_parser_impl::printOptionInfo(), and setDescription().
| const char* llvm::cl::Option::ValueStr |
Definition at line 211 of file CommandLine.h.
Referenced by getValueStr(), and setValueStr().
1.8.6