]> granicus.if.org Git - clang/commit
[driver] Add mips_Features_Group to Options to improve documentation sorting
authorSimon Atanasyan <simon@atanasyan.com>
Wed, 9 May 2018 08:42:30 +0000 (08:42 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Wed, 9 May 2018 08:42:30 +0000 (08:42 +0000)
commit473af992c6a5b71690bef4f4e7986947d47c8f84
tree9628a3925b6ab32da5a442b12c1a9ab74a429b35
parent49d557c3652a0113159c2d4442391835a2e220e3
[driver] Add mips_Features_Group to Options to improve documentation sorting

Move all of the MIPS-only options into a new m_mips_Features_Group.
Nearly all other targets have most target-specific options grouped,
but MIPS does not.

The primary benefits are that the options will be listed together (and
thus identifiable as MIPS-specific even if they have no help string) in
the ClangCommandLineReference, and that Options.td is a bit more organized.

A secondary benefit is that a custom version of clang can more easily
hide/disable groups of options for unsupported targets.

Patch by Vince Del Vecchio

Differential Revision: https://reviews.llvm.org/D46450

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331856 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td