Base class for collecting unique file and directory paths.

Synopsis

Declared in <llvm/Support/FileCollector.h>

class FileCollectorBase;

Member Functions

Name

Description

FileCollectorBase [constructor]

Construct an empty file collector base.

~FileCollectorBase [destructor] [virtual]

Destroy the file collector base.

addDirectory

Record Dir and the files it contains.

addFile

Record file if it has not already been seen.

Protected Member Functions

Name

Description

addDirectoryImpl [virtual]

Collect files in Dir using FS and return a directory iterator.

addFileImpl [virtual]

Collect a newly seen file at SrcPath.

markAsSeen

Record Path so later lookups can skip it.

Protected Data Members

Name

Description

Mutex

Synchronizes access to internal data structures.

Seen

Tracks already seen files so they can be skipped.

Derived Classes

Name

Description

FileCollector

Captures file system interaction and generates data to be later replayed with the RedirectingFileSystem.

Created with MrDocs