clang 20.0.0git
Public Member Functions | List of all members
clang::ModuleMapCallbacks Class Reference

A mechanism to observe the actions of the module map parser as it reads module map files. More...

#include "clang/Lex/ModuleMap.h"

Public Member Functions

virtual ~ModuleMapCallbacks ()=default
 
virtual void moduleMapFileRead (SourceLocation FileStart, FileEntryRef File, bool IsSystem)
 Called when a module map file has been read.
 
virtual void moduleMapAddHeader (StringRef Filename)
 Called when a header is added during module map parsing.
 
virtual void moduleMapAddUmbrellaHeader (FileEntryRef Header)
 Called when an umbrella header is added during module map parsing.
 

Detailed Description

A mechanism to observe the actions of the module map parser as it reads module map files.

Definition at line 48 of file ModuleMap.h.

Constructor & Destructor Documentation

◆ ~ModuleMapCallbacks()

virtual clang::ModuleMapCallbacks::~ModuleMapCallbacks ( )
virtualdefault

Member Function Documentation

◆ moduleMapAddHeader()

virtual void clang::ModuleMapCallbacks::moduleMapAddHeader ( StringRef  Filename)
inlinevirtual

Called when a header is added during module map parsing.

Parameters
FilenameThe header file itself.

Definition at line 66 of file ModuleMap.h.

◆ moduleMapAddUmbrellaHeader()

virtual void clang::ModuleMapCallbacks::moduleMapAddUmbrellaHeader ( FileEntryRef  Header)
inlinevirtual

Called when an umbrella header is added during module map parsing.

Parameters
HeaderThe umbrella header to collect.

Definition at line 71 of file ModuleMap.h.

◆ moduleMapFileRead()

virtual void clang::ModuleMapCallbacks::moduleMapFileRead ( SourceLocation  FileStart,
FileEntryRef  File,
bool  IsSystem 
)
inlinevirtual

Called when a module map file has been read.

Parameters
FileStartA SourceLocation referring to the start of the file's contents.
FileThe file itself.
IsSystemWhether this is a module map from a system include path.

Definition at line 60 of file ModuleMap.h.


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