LLVM 24.0.0git
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/IOSandbox.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)
static bool isNullDeviceName (StringRef OutputFileName)

Function Documentation

◆ getFD()

◆ isNullDeviceName()

bool isNullDeviceName ( StringRef OutputFileName)
static

Definition at line 996 of file raw_ostream.cpp.

References llvm::StringRef::equals_insensitive().

Referenced by llvm::writeToOutput().

◆ write_padding()

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