LLVM 19.0.0git
Functions
raw_ostream.cpp File Reference
#include "llvm/Support/raw_ostream.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Config/config.h"
#include "llvm/Support/AutoConvert.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Duration.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 <cerrno>
#include <cstdio>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>

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 483 of file raw_ostream.cpp.

References llvm::CallingConv::C, OS, and llvm::raw_ostream::write().