#include "clang/IndexSerialization/SerializablePathCollection.h"
#include "llvm/Support/Path.h"
usingnamespacellvm;
usingnamespaceclang;
usingnamespaceclang::index;
StringPool::StringOffsetSize StringPool::add(StringRef Str) { … }
size_t PathPool::addFilePath(RootDirKind Root,
const StringPool::StringOffsetSize &Dir,
StringRef Filename) { … }
StringPool::StringOffsetSize PathPool::addDirPath(StringRef Dir) { … }
llvm::ArrayRef<PathPool::FilePath> PathPool::getFilePaths() const { … }
StringRef PathPool::getPaths() const { … }
SerializablePathCollection::SerializablePathCollection(
StringRef CurrentWorkDir, StringRef SysRoot, llvm::StringRef OutputFile)
: … { … }
size_t SerializablePathCollection::tryStoreFilePath(FileEntryRef FE) { … }
PathPool::DirPath SerializablePathCollection::tryStoreDirPath(StringRef Dir) { … }