|
clang 22.0.0git
|
Pool of filesystem paths backed by a StringPool. More...
#include "clang/IndexSerialization/SerializablePathCollection.h"
Classes | |
| struct | DirPath |
| struct | FilePath |
Public Types | |
| enum class | RootDirKind { Regular = 0 , CurrentWorkDir = 1 , SysRoot = 2 } |
| Special root directory of a filesystem path. More... | |
Public Member Functions | |
| size_t | addFilePath (RootDirKind Root, const StringPool::StringOffsetSize &Dir, StringRef Filename) |
| StringPool::StringOffsetSize | addDirPath (StringRef Dir) |
| llvm::ArrayRef< FilePath > | getFilePaths () const |
| StringRef | getPaths () const |
Pool of filesystem paths backed by a StringPool.
Definition at line 43 of file SerializablePathCollection.h.
|
strong |
Special root directory of a filesystem path.
| Enumerator | |
|---|---|
| Regular | |
| CurrentWorkDir | |
| SysRoot | |
Definition at line 46 of file SerializablePathCollection.h.
| StringPool::StringOffsetSize PathPool::addDirPath | ( | StringRef | Dir | ) |
Definition at line 29 of file SerializablePathCollection.cpp.
| size_t PathPool::addFilePath | ( | RootDirKind | Root, |
| const StringPool::StringOffsetSize & | Dir, | ||
| StringRef | Filename ) |
Definition at line 22 of file SerializablePathCollection.cpp.
| llvm::ArrayRef< PathPool::FilePath > PathPool::getFilePaths | ( | ) | const |
Definition at line 33 of file SerializablePathCollection.cpp.
| StringRef PathPool::getPaths | ( | ) | const |
Definition at line 37 of file SerializablePathCollection.cpp.