clang: clang::ModuleMapCallbacks Class Reference (original) (raw)
A mechanism to observe the actions of the module map parser as it reads module map files. More...
#include "[clang/Lex/ModuleMap.h](ModuleMap%5F8h%5Fsource.html)"
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. | |
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.
virtual clang::ModuleMapCallbacks::~ModuleMapCallbacks ( ) | virtualdefault |
---|
◆ moduleMapAddHeader()
virtual void clang::ModuleMapCallbacks::moduleMapAddHeader ( StringRef Filename) | inlinevirtual |
---|
Called when a header is added during module map parsing.
Parameters
Filename | The 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
Header | The umbrella header to collect. |
---|
Definition at line 71 of file ModuleMap.h.
◆ moduleMapFileRead()
Called when a module map file has been read.
Parameters
FileStart | A SourceLocation referring to the start of the file's contents. |
---|---|
File | The file itself. |
IsSystem | Whether 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:
- include/clang/Lex/ModuleMap.h
- lib/Lex/ModuleMap.cpp