LLVM 20.0.0git
|
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 114 of file Registry.h.
|
inline |
Definition at line 121 of file Registry.h.
References llvm::Registry< T >::add_node().