mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-18 21:24:32 -04:00
Make helpers static. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318953 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
using namespace llvm;
|
||||
using namespace llvm::sys;
|
||||
|
||||
namespace {
|
||||
// A FileOutputBuffer which creates a temporary file in the same directory
|
||||
// as the final output file. The final output file is atomically replaced
|
||||
// with the temporary file on commit().
|
||||
@@ -94,6 +95,7 @@ private:
|
||||
OwningMemoryBlock Buffer;
|
||||
unsigned Mode;
|
||||
};
|
||||
} // namespace
|
||||
|
||||
static Expected<std::unique_ptr<InMemoryBuffer>>
|
||||
createInMemoryBuffer(StringRef Path, size_t Size, unsigned Mode) {
|
||||
|
||||
Reference in New Issue
Block a user