LLVM 22.0.0git
llvm::TableGen::Emitter::Opt Struct Reference

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"

Inheritance diagram for llvm::TableGen::Emitter::Opt:
[legend]

Public Member Functions

 Opt (StringRef Name, FnT CB, StringRef Desc, bool ByDefault=false)

Detailed Description

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 53 of file TableGenBackend.h.

Constructor & Destructor Documentation

◆ Opt()


The documentation for this struct was generated from the following files: