This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Add mips_Features_Group to Options to improve documentation sorting
ClosedPublic

Authored by vdelvecc on May 4 2018, 1:24 PM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

vdelvecc created this revision.May 4 2018, 1:24 PM
atanasyan accepted this revision.May 5 2018, 6:21 AM

LGTM

Do you have commit access?

This revision is now accepted and ready to land.May 5 2018, 6:21 AM

LGTM

Do you have commit access?

Nope. Would you commit it please? Thanks much!

This revision was automatically updated to reflect the committed changes.

Committed at rL331856.

Thanks for the patch.