LLVM  7.0.0svn
Functions
raw_ostream.cpp File Reference
#include "llvm/Support/raw_ostream.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Config/config.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/NativeFormatting.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/Program.h"
#include <algorithm>
#include <cctype>
#include <cerrno>
#include <cstdio>
#include <iterator>
#include <sys/stat.h>
#include <system_error>
#include <fcntl.h>
#include <unistd.h>
Include dependency graph for raw_ostream.cpp:

Go to the source code of this file.

Functions

template<char C>
static raw_ostreamwrite_padding (raw_ostream &OS, unsigned NumChars)
 
static int getFD (StringRef Filename, std::error_code &EC, sys::fs::CreationDisposition Disp, sys::fs::FileAccess Access, sys::fs::OpenFlags Flags)
 

Function Documentation

◆ getFD()

static int getFD ( StringRef  Filename,
std::error_code &  EC,
sys::fs::CreationDisposition  Disp,
sys::fs::FileAccess  Access,
sys::fs::OpenFlags  Flags 
)
static

◆ write_padding()

template<char C>
static raw_ostream& write_padding ( raw_ostream OS,
unsigned  NumChars 
)
static

Definition at line 456 of file raw_ostream.cpp.

References llvm::array_lengthof(), C, and llvm::raw_ostream::write().