14 #ifndef LLVM_SUPPORT_REGISTRYPARSER_H
15 #define LLVM_SUPPORT_REGISTRYPARSER_H
33 template <
typename T,
typename U = RegistryTraits<T> >
38 typedef typename U::entry entry;
55 #endif // LLVM_SUPPORT_REGISTRYPARSER_H
void initialize(cl::Option &O)
A global registry used in conjunction with static constructors to make pluggable components (like tar...
A command-line parser for a registry.
void init()
Calls 'registered' for each pre-existing entry.
Abstract base class for registry listeners, which are informed when new entries are added to the regi...
void registered(const entry &E)
Called when an entry is added to the registry.
void addLiteralOption(const char *Name, const DT &V, const char *HelpStr)
addLiteralOption - Add an entry to the mapping table.