clang-tools 20.0.0git
Public Member Functions | List of all members
clang::tooling::ExpandModularHeadersPPCallbacks::FileRecorder Class Reference

Public Member Functions

void addNecessaryFile (FileEntryRef File)
 Records that a given file entry is needed for replaying callbacks.
 
void recordFileContent (FileEntryRef File, const SrcMgr::ContentCache &ContentCache, llvm::vfs::InMemoryFileSystem &InMemoryFs)
 Records content for a file and adds it to the FileSystem.
 
void checkAllFilesRecorded ()
 Makes sure we have contents for all the files we were interested in.
 

Detailed Description

Definition at line 21 of file ExpandModularHeadersPPCallbacks.cpp.

Member Function Documentation

◆ addNecessaryFile()

void clang::tooling::ExpandModularHeadersPPCallbacks::FileRecorder::addNecessaryFile ( FileEntryRef  File)
inline

Records that a given file entry is needed for replaying callbacks.

Definition at line 24 of file ExpandModularHeadersPPCallbacks.cpp.

◆ checkAllFilesRecorded()

void clang::tooling::ExpandModularHeadersPPCallbacks::FileRecorder::checkAllFilesRecorded ( )
inline

Makes sure we have contents for all the files we were interested in.

Ideally FilesToRecord should be empty.

Definition at line 54 of file ExpandModularHeadersPPCallbacks.cpp.

◆ recordFileContent()

void clang::tooling::ExpandModularHeadersPPCallbacks::FileRecorder::recordFileContent ( FileEntryRef  File,
const SrcMgr::ContentCache &  ContentCache,
llvm::vfs::InMemoryFileSystem &  InMemoryFs 
)
inline

Records content for a file and adds it to the FileSystem.

Definition at line 34 of file ExpandModularHeadersPPCallbacks.cpp.


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