OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:OptionRegistry
(Results
1 - 2
of
2
) sorted by null
/external/llvm/lib/Support/
Options.cpp
20
OptionRegistry
::~
OptionRegistry
() {
25
void
OptionRegistry
::addOption(void *Key, cl::Option *O) {
31
static ManagedStatic<
OptionRegistry
> OR;
33
OptionRegistry
&
OptionRegistry
::instance() { return *OR; }
/external/llvm/include/llvm/Support/
Options.h
17
///
OptionRegistry
. An example implementation of registerOptions is:
20
///
OptionRegistry
::registerOption<bool, Scalarizer,
61
/// The
OptionRegistry
is responsible for managing lifetimes of the options and
65
class
OptionRegistry
{
74
/// Allocated cl::Options are owned by the
OptionRegistry
and are deallocated
79
~
OptionRegistry
();
80
OptionRegistry
() {}
83
static
OptionRegistry
&instance();
85
/// \brief Registers an option with the
OptionRegistry
singleton.
113
assert(It != Options.end() && "Option not in
OptionRegistry
");
[
all
...]
Completed in 189 milliseconds