LLVM  8.0.1
Functions
FileOutputBuffer.cpp File Reference
#include "llvm/Support/FileOutputBuffer.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/Memory.h"
#include "llvm/Support/Path.h"
#include <system_error>
#include <unistd.h>
Include dependency graph for FileOutputBuffer.cpp:

Go to the source code of this file.

Functions

static Expected< std::unique_ptr< InMemoryBuffer > > createInMemoryBuffer (StringRef Path, size_t Size, unsigned Mode)
 
static Expected< std::unique_ptr< OnDiskBuffer > > createOnDiskBuffer (StringRef Path, size_t Size, bool InitExisting, unsigned Mode)
 

Function Documentation

◆ createInMemoryBuffer()

static Expected<std::unique_ptr<InMemoryBuffer> > createInMemoryBuffer ( StringRef  Path,
size_t  Size,
unsigned  Mode 
)
static

◆ createOnDiskBuffer()

static Expected<std::unique_ptr<OnDiskBuffer> > createOnDiskBuffer ( StringRef  Path,
size_t  Size,
bool  InitExisting,
unsigned  Mode 
)
static