[PATCH] D46450: [Driver] Add mips_Features_Group to Options to improve documentation sorting

Vince Del Vecchio via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 4 13:24:42 PDT 2018


vdelvecc created this revision.
vdelvecc added reviewers: sdardis, atanasyan, rsmith.
Herald added subscribers: cfe-commits, arichardson.

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.


Repository:
  rC Clang

https://reviews.llvm.org/D46450

Files:
  include/clang/Driver/Options.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46450.145256.patch
Type: text/x-patch
Size: 12574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180504/6c3ad791/attachment.bin>


More information about the cfe-commits mailing list