[all-commits] [llvm/llvm-project] 64ada7: [TableGen] Add backend to generate command guide f...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Fri Nov 22 14:10:23 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 64ada7accbcccf1ef3ac4910d596e890570c64b2
https://github.com/llvm/llvm-project/commit/64ada7accbcccf1ef3ac4910d596e890570c64b2
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2019-11-22 (Fri, 22 Nov 2019)
Changed paths:
M llvm/utils/TableGen/CMakeLists.txt
A llvm/utils/TableGen/OptEmitter.cpp
A llvm/utils/TableGen/OptEmitter.h
M llvm/utils/TableGen/OptParserEmitter.cpp
A llvm/utils/TableGen/OptRSTEmitter.cpp
M llvm/utils/TableGen/TableGen.cpp
M llvm/utils/TableGen/TableGenBackends.h
Log Message:
-----------
[TableGen] Add backend to generate command guide for tools using libOption.
For lldb and dsymutil, the command guide is essentially a copy of its
help output generated by libOption. Making sure the two stay in sync is
tedious and error prone. Given that we already generate the help from a
tablegen file, we might as well generate the RST as well.
This adds a tablegen backend for generating Sphinx/RST command guides
from the tablegen file.
Differential revision: https://reviews.llvm.org/D70610
More information about the All-commits
mailing list