This is an archive of the discontinued LLVM Phabricator instance.

Move factory methods out of their classes.
ClosedPublic

Authored by ruiu on Nov 6 2017, 12:49 PM.

Details

Summary

InMemoryBuffer and OnDiskBuffer classes have both factory methods and
public constructors, and that looks a bit odd. This patch makes factory
methods non-member function to fix it.

Diff Detail

Repository
rL LLVM

Event Timeline

ruiu created this revision.Nov 6 2017, 12:49 PM
This revision was automatically updated to reflect the committed changes.