This is an archive of the discontinued LLVM Phabricator instance.

[VPlan] Make various tryTo* helpers private and mark as const (NFC).
ClosedPublic

Authored by fhahn on Apr 16 2020, 2:59 AM.

Details

Summary

The individual tryTo* helpers do not need to be public. Also, the
builder contained two consecutive public: sections, which is not
necessary. Moved the remaining public methods after the constructor.

Also make some of the tryTo* helpers const.

Diff Detail

Event Timeline

fhahn created this revision.Apr 16 2020, 2:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 16 2020, 2:59 AM
gilr accepted this revision.Apr 19 2020, 2:47 AM

LGTM, thanks.

This revision is now accepted and ready to land.Apr 19 2020, 2:47 AM
This revision was automatically updated to reflect the committed changes.