LLVM 20.0.0git
|
#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_ostream & | write_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) |
|
static |
Definition at line 567 of file raw_ostream.cpp.
References Access, assert(), llvm::sys::ChangeStdoutMode(), llvm::sys::fs::FA_Read, llvm::sys::fs::FA_Write, llvm::sys::fs::openFileForReadWrite(), and llvm::sys::fs::openFileForWrite().
|
static |
Definition at line 477 of file raw_ostream.cpp.
References llvm::CallingConv::C, OS, and llvm::raw_ostream::write().