commit | 84a0f53bf0d75a0b5736c43dfa44d9b4b2c4ddc2 | [log] [tgz] |
---|---|---|
author | Rui Ueyama <ruiu@google.com> | Wed Nov 08 22:57:48 2017 +0000 |
committer | Rui Ueyama <ruiu@google.com> | Wed Nov 08 22:57:48 2017 +0000 |
tree | 64cc5143ff412362f8b2f307d4385ae5208edc13 | |
parent | 20c675a70a8aa2d145a1cd3422e5781a44bfef8d [diff] |
[FileOutputBuffer] Move factory methods out of their classes. 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. Differential Revision: https://reviews.llvm.org/D39693 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317739 91177308-0d34-0410-b5e6-96231b3b80d8