This is an archive of the discontinued LLVM Phabricator instance.

Use class to pass information about executable name
ClosedPublic

Authored by sepavloff on Jul 30 2017, 3:18 AM.

Details

Summary

Information about clang executable name component, such as target and
driver mode, was passes in std::pair. With this change it is passed in
special structure. It improves readability and makes access to this
information more convenient.

NFC.

Event Timeline

sepavloff created this revision.Jul 30 2017, 3:18 AM
sepavloff updated this revision to Diff 110906.Aug 13 2017, 9:44 PM

Updated patch

  • The class representing info about clang executable name now keeps driver mode component as well,
  • Added unit tests.
echristo accepted this revision.Aug 28 2017, 5:36 PM

Fine with me.

-eric

This revision is now accepted and ready to land.Aug 28 2017, 5:36 PM
This revision was automatically updated to reflect the committed changes.

@echristo Committed, thanks.