LLVM 22.0.0git
llvm::FileCollector::PathCanonicalizer Class Reference

Helper utility that encapsulates the logic for canonicalizing a virtual path and a path to copy from. More...

#include "llvm/Support/FileCollector.h"

Classes

struct  PathStorage

Public Member Functions

LLVM_ABI PathStorage canonicalize (StringRef SrcPath)
 Canonicalize a pair of virtual and real paths.
vfs::FileSystemgetFileSystem () const
 Return the underlying file system.
 PathCanonicalizer (IntrusiveRefCntPtr< vfs::FileSystem > VFS)

Detailed Description

Helper utility that encapsulates the logic for canonicalizing a virtual path and a path to copy from.

Definition at line 74 of file FileCollector.h.

Constructor & Destructor Documentation

◆ PathCanonicalizer()

llvm::FileCollector::PathCanonicalizer::PathCanonicalizer ( IntrusiveRefCntPtr< vfs::FileSystem > VFS)
inlineexplicit

Definition at line 87 of file FileCollector.h.

References llvm::move().

Member Function Documentation

◆ canonicalize()

◆ getFileSystem()

vfs::FileSystem & llvm::FileCollector::PathCanonicalizer::getFileSystem ( ) const
inline

Return the underlying file system.

Definition at line 85 of file FileCollector.h.


The documentation for this class was generated from the following files: