LLVM
8.0.1
|
A static registration template. More...
#include "llvm/Support/Registry.h"
Public Member Functions | |
Add (StringRef Name, StringRef Desc) | |
A static registration template.
Use like such:
Registry<Collector>::Add<FancyGC> X("fancy-gc", "Newfangled garbage collector.");
Use of this template requires that:
Definition at line 115 of file Registry.h.
|
inline |
Definition at line 122 of file Registry.h.