clang 20.0.0git
|
Stores file paths and produces serialization-friendly representation. More...
#include "clang/IndexSerialization/SerializablePathCollection.h"
Public Member Functions | |
SerializablePathCollection (llvm::StringRef CurrentWorkDir, llvm::StringRef SysRoot, llvm::StringRef OutputFile) | |
llvm::StringRef | getPathsBuffer () const |
ArrayRef< PathPool::FilePath > | getFilePaths () const |
size_t | tryStoreFilePath (FileEntryRef FE) |
Stores path to FE if it hasn't been stored yet. | |
Public Attributes | |
const StringPool::StringOffsetSize | WorkDirPath |
const StringPool::StringOffsetSize | SysRootPath |
const StringPool::StringOffsetSize | OutputFilePath |
Stores file paths and produces serialization-friendly representation.
Definition at line 85 of file SerializablePathCollection.h.
SerializablePathCollection::SerializablePathCollection | ( | llvm::StringRef | CurrentWorkDir, |
llvm::StringRef | SysRoot, | ||
llvm::StringRef | OutputFile | ||
) |
Definition at line 39 of file SerializablePathCollection.cpp.
|
inline |
Definition at line 107 of file SerializablePathCollection.h.
|
inline |
Definition at line 103 of file SerializablePathCollection.h.
size_t SerializablePathCollection::tryStoreFilePath | ( | FileEntryRef | FE | ) |
Stores path to FE
if it hasn't been stored yet.
Definition at line 48 of file SerializablePathCollection.cpp.
References clang::index::PathPool::addFilePath(), and clang::FileEntryRef::getName().
const StringPool::StringOffsetSize clang::index::SerializablePathCollection::OutputFilePath |
Definition at line 96 of file SerializablePathCollection.h.
const StringPool::StringOffsetSize clang::index::SerializablePathCollection::SysRootPath |
Definition at line 95 of file SerializablePathCollection.h.
const StringPool::StringOffsetSize clang::index::SerializablePathCollection::WorkDirPath |
Definition at line 94 of file SerializablePathCollection.h.