This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] CmpRuns.py: Decouple main functionality from argparse
ClosedPublic

Authored by vsavchenko on Jun 10 2020, 6:17 AM.

Details

Summary

It makes it much harder to use from other modules when one of the
parameters is an argparse Namespace. This commit makes it easier
to use CmpRuns programmatically.

Diff Detail

Event Timeline

vsavchenko created this revision.Jun 10 2020, 6:17 AM
NoQ accepted this revision.Jun 10 2020, 10:21 AM

Yes, definitely.

This revision is now accepted and ready to land.Jun 10 2020, 10:21 AM
This revision was automatically updated to reflect the committed changes.