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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D39693
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
Diff Detail
Event TimelineClosed by commit rL317739: [FileOutputBuffer] Move factory methods out of their classes. (authored by ruiu). · Explain WhyNov 8 2017, 2:58 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 122162 llvm/trunk/lib/Support/FileOutputBuffer.cpp
|