This is an archive of the discontinued LLVM Phabricator instance.

[LegacyPM] Namespace some classes; NFC
AbandonedPublic

Authored by sanjoy on Jun 5 2016, 2:53 PM.

Details

Summary

In a later commit I will include a header that exposes the new
PassManager in LegacyPassManager.cpp, and pushing existing uses of
legacy::FunctionPassManager and legacy::PassManager to be explicitly
under the legacy:: namespace will avoid a name collision.

Diff Detail

Event Timeline

sanjoy updated this revision to Diff 59675.Jun 5 2016, 2:53 PM
sanjoy retitled this revision from to [LegacyPM] Namespace some classes; NFC.
sanjoy updated this object.
sanjoy added a subscriber: llvm-commits.
davide accepted this revision.Jun 5 2016, 2:58 PM
davide edited edge metadata.

Pretty much a no-brainer. lg.

This revision is now accepted and ready to land.Jun 5 2016, 2:58 PM
chandlerc accepted this revision.Jun 6 2016, 5:34 PM
chandlerc edited edge metadata.

You may be able to nuke a using declaration after this?

Anyways, I was super confused why you needed this until I looked more closely at the other change, and that made it obvious. With that in mind, LGTM.

Looks like patch was not committed.

sanjoy abandoned this revision.Sep 30 2016, 11:15 AM

I'm not working on this actively now, so abandoning for now. Will reopen if that changes.