LLVM 20.0.0git
|
Creating an Opt
object registers the command line option Name
with TableGen backend and associates the callback CB
with that option.
More...
#include "llvm/TableGen/TableGenBackend.h"
Public Member Functions | |
Opt (StringRef Name, FnT CB, StringRef Desc, bool ByDefault=false) | |
Creating an Opt
object registers the command line option Name
with TableGen backend and associates the callback CB
with that option.
If ByDefault
is true, then that callback is applied by default if no command line option was specified.
Definition at line 32 of file TableGenBackend.h.
Definition at line 55 of file TableGenBackend.cpp.
References CallbackFunction, and Name.