#include "clang/Basic/LLVM.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/STLFunctionalExtras.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/FileSystem/UniqueID.h"
#include <ctime>
#include <memory>
#include <optional>
#include <sys/types.h>
#include <system_error>
Go to the source code of this file.
|
| namespace | llvm |
| | Diagnostic wrappers for TextAPI types for error reporting.
|
| namespace | clang |
| | Top level wrappers for InstallAPI frontend operations.
|
|
| std::shared_ptr< ModuleCache > | clang::createCrossProcessModuleCache () |
| | Creates new ModuleCache backed by a file system directory that may be operated on by multiple processes.
|
| void | clang::maybePruneImpl (StringRef Path, time_t PruneInterval, time_t PruneAfter, bool PruneTopLevel=false, llvm::function_ref< void(StringRef)> OnPrune={}) |
| | Shared implementation of ModuleCache::maybePrune().
|
| llvm::ErrorOr< std::unique_ptr< llvm::MemoryBuffer > > | clang::writeImpl (StringRef Path, llvm::MemoryBufferRef Buffer, off_t &Size, time_t &ModTime, bool ReadBack) |
| | Shared implementation of ModuleCache::write().
|
| Expected< std::unique_ptr< llvm::MemoryBuffer > > | clang::readImpl (StringRef FileName, off_t &Size, time_t &ModTime) |
| | Shared implementation of ModuleCache::read().
|