aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/CodeGenDAGPatterns.cpp
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2008-05-30 06:26:08 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2008-05-30 06:26:08 +0000
commite43228958ce2d9c0c69c7ccaef8bb0517d085951 (patch)
tree096fc172c497ac64dcb47e71f8b32b11c15296f1 /utils/TableGen/CodeGenDAGPatterns.cpp
parent270cae3bf818987d3079ba26ef3319960a034d25 (diff)
New feature: OptionList.
It can be handy to have all information about options gathered in a single place to provide an overview of all supported options. This patch allows the following: def Options : OptionList<[ (switch_option "E", (help "Help string")), (alias_option "quiet", "q") ... ]>; Tool-specific option properties (like 'append_cmd') have (obviously) no meaning in this context, so the only properties that are allowed are 'help' and 'required'. See usage example in examples/Clang.td. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenDAGPatterns.cpp')
0 files changed, 0 insertions, 0 deletions