HomePhabricator

[yaml2obj] Refactor command line parsing

Authored by MaskRay on Feb 4 2020, 10:45 AM.

Description

[yaml2obj] Refactor command line parsing

  • Hide unrelated options.
  • Add "OVERVIEW: " to yaml2obj -h/--help.
  • Place options under a yaml2obj category.
  • Disallow -docnum. Currently -docnum is the only yaml2obj specific long option that is affected.
  • Specify cl::init("-") and cl::Prefix for OutputFilename. The latter allows -ofile

Reviewed By: grimar, jhenderson

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

Details

Committed
MaskRayFeb 6 2020, 1:11 AM
Reviewer
grimar
Differential Revision
D73982: [yaml2obj] Refactor command line parsing
Parents
rGfd0abcbfc18f: [yaml2obj] - Change NameIndex to StName for Symbol.
Branches
Unknown
Tags
Unknown