class FileCollectorBase
Declaration
class FileCollectorBase { /* full declaration omitted */ };
Declared at: llvm/include/llvm/Support/FileCollector.h:22
Member Variables
- protected std::mutex Mutex
- Synchronizes access to internal data structures.
- protected StringSet<> Seen
- Tracks already seen files so they can be skipped.
Method Overview
- public FileCollectorBase()
- public void addDirectory(const llvm::Twine & Dir)
- protected virtual llvm::vfs::directory_iterator addDirectoryImpl(const llvm::Twine & Dir, IntrusiveRefCntPtr<vfs::FileSystem> FS, std::error_code & EC)
- public void addFile(const llvm::Twine & file)
- protected virtual void addFileImpl(llvm::StringRef SrcPath)
- protected bool markAsSeen(llvm::StringRef Path)
- public virtual ~FileCollectorBase()
Methods
¶FileCollectorBase()
FileCollectorBase()
Declared at: llvm/include/llvm/Support/FileCollector.h:24
¶void addDirectory(const llvm::Twine& Dir)
void addDirectory(const llvm::Twine& Dir)
Declared at: llvm/include/llvm/Support/FileCollector.h:28
Parameters
- const llvm::Twine& Dir
¶virtual llvm::vfs::directory_iterator
addDirectoryImpl(
const llvm::Twine& Dir,
IntrusiveRefCntPtr<vfs::FileSystem> FS,
std::error_code& EC)
virtual llvm::vfs::directory_iterator
addDirectoryImpl(
const llvm::Twine& Dir,
IntrusiveRefCntPtr<vfs::FileSystem> FS,
std::error_code& EC)
Declared at: llvm/include/llvm/Support/FileCollector.h:40
Parameters
- const llvm::Twine& Dir
- IntrusiveRefCntPtr<vfs::FileSystem> FS
- std::error_code& EC
¶void addFile(const llvm::Twine& file)
void addFile(const llvm::Twine& file)
Declared at: llvm/include/llvm/Support/FileCollector.h:27
Parameters
- const llvm::Twine& file
¶virtual void addFileImpl(llvm::StringRef SrcPath)
virtual void addFileImpl(llvm::StringRef SrcPath)
Declared at: llvm/include/llvm/Support/FileCollector.h:37
Parameters
- llvm::StringRef SrcPath
¶bool markAsSeen(llvm::StringRef Path)
bool markAsSeen(llvm::StringRef Path)
Declared at: llvm/include/llvm/Support/FileCollector.h:31
Parameters
- llvm::StringRef Path
¶virtual ~FileCollectorBase()
virtual ~FileCollectorBase()
Declared at: llvm/include/llvm/Support/FileCollector.h:25