mini-llvm 0.1.0
Loading...
Searching...
No Matches
IO.h File Reference
#include <cstddef>
#include <cstdio>
#include <string>
#include <string_view>
#include "mini-llvm/utils/Compiler.h"
#include "mini-llvm/utils/Expected.h"
#include "mini-llvm/utils/Path.h"
#include "mini-llvm/utils/SystemError.h"
Include dependency graph for IO.h:

Go to the source code of this file.

Namespaces

namespace  mini_llvm

Functions

MINI_LLVM_EXPORT Expected< std::string, SystemErrormini_llvm::readAll (FILE *stream)
MINI_LLVM_EXPORT Expected< std::string, SystemErrormini_llvm::readAll (const Path &path)
MINI_LLVM_EXPORT Expected< std::string, SystemErrormini_llvm::readAll (const Path &path, FILE *stream)
MINI_LLVM_EXPORT Expected< void, SystemErrormini_llvm::writeAll (FILE *stream, const char *data, size_t size)
MINI_LLVM_EXPORT Expected< void, SystemErrormini_llvm::writeAll (const Path &path, const char *data, size_t size)
MINI_LLVM_EXPORT Expected< void, SystemErrormini_llvm::writeAll (const Path &path, FILE *stream, const char *data, size_t size)
Expected< void, SystemErrormini_llvm::writeAll (FILE *stream, std::string_view buffer)
Expected< void, SystemErrormini_llvm::writeAll (const Path &path, std::string_view buffer)
Expected< void, SystemErrormini_llvm::writeAll (const Path &path, FILE *stream, std::string_view buffer)