This is an archive of the discontinued LLVM Phabricator instance.

Refactoring cl::parser construction and initialization.
ClosedPublic

Authored by beanz on Jan 22 2015, 12:48 PM.

Details

Summary

Some parsers need references back to the option they are members of. This is used for handling the argument string as well as by the various pass name parsers for making pass names into flags.

Making parsers that need to refer back to the option have a reference to the option eliminates some of the members of various parsers, and enables further code cleanup.

Diff Detail

Repository
rL LLVM

Event Timeline

beanz updated this revision to Diff 18635.Jan 22 2015, 12:48 PM
beanz retitled this revision from to Refactoring cl::parser construction and initialization..
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.