clang  6.0.0svn
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, const FileEntry &File, bool IsSystem)
 Called when a module map file has been read. More...
 
virtual void moduleMapAddHeader (StringRef Filename)
 Called when a header is added during module map parsing. More...
 
virtual void moduleMapAddUmbrellaHeader (FileManager *FileMgr, const FileEntry *Header)
 Called when an umbrella header is added during module map parsing. More...
 

Detailed Description

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

Definition at line 46 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 62 of file ModuleMap.h.

◆ moduleMapAddUmbrellaHeader()

virtual void clang::ModuleMapCallbacks::moduleMapAddUmbrellaHeader ( FileManager FileMgr,
const FileEntry Header 
)
inlinevirtual

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

Parameters
FileMgrFileManager instance
HeaderThe umbrella header to collect.

Definition at line 68 of file ModuleMap.h.

◆ moduleMapFileRead()

virtual void clang::ModuleMapCallbacks::moduleMapFileRead ( SourceLocation  FileStart,
const FileEntry 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 56 of file ModuleMap.h.


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