4178ef43b2
`Opt(flag, func, desc)` registers an option into `Action`. `OptClass<EmitterC>` is also available if `EmitterC(RK).run(OS)` is capable. `Action` is defined as `ManagedStatic<cl::opt>` to guarantee to be created when each registration of emitter is invoked. `llvm::TableGenMain(argv0, MainFn)` invokes `Action` instead of `MainFn` Differential Revision: https://reviews.llvm.org/D144351 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
DetailedRecordsBackend.cpp | ||
Error.cpp | ||
JSONBackend.cpp | ||
Main.cpp | ||
Parser.cpp | ||
Record.cpp | ||
SetTheory.cpp | ||
StringMatcher.cpp | ||
TableGenBackend.cpp | ||
TableGenBackendSkeleton.cpp | ||
TGLexer.cpp | ||
TGLexer.h | ||
TGParser.cpp | ||
TGParser.h |