This is an archive of the discontinued LLVM Phabricator instance.

Adopt new cl::HideUnrelatedOptions API added r226729.
ClosedPublic

Authored by beanz on Jan 21 2015, 3:02 PM.

Details

Summary

cl::HideUnrelatedOptions allows tools to hide all options not part of a specific OptionCategory. This is the common use case for cl::getRegisteredOptions, which should be deprecated in the future because it exposes implementation details of command line parsing.

Diff Detail

Repository
rL LLVM

Event Timeline

beanz updated this revision to Diff 18559.Jan 21 2015, 3:02 PM
beanz retitled this revision from to Adopt new cl::HideUnrelatedOptions API added r226729..
beanz updated this object.
beanz edited the test plan for this revision. (Show Details)
beanz added a reviewer: dexonsmith.
beanz added a subscriber: Unknown Object (MLST).
This revision was automatically updated to reflect the committed changes.