LLVM: llvm::Registry< T >::Add< V (original) (raw)
A static registration template. More...
#include "[llvm/Support/Registry.h](Registry%5F8h%5Fsource.html)"
Detailed Description
template<typename T>
template
class llvm::Registry< T >::Add< V >
A static registration template.
Use like such:
Registry::Add X("fancy-gc", "Newfangled garbage collector.");
Use of this template requires that:
- The registered subclass has a default constructor.
Definition at line 126 of file Registry.h.
Constructor & Destructor Documentation
template<typename T>
template
The documentation for this class was generated from the following file:
- include/llvm/Support/Registry.h