clang  3.9.0
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 <ModuleMap.h>

Public Member Functions

virtual ~ModuleMapCallbacks ()
 
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 41 of file ModuleMap.h.

Constructor & Destructor Documentation

virtual clang::ModuleMapCallbacks::~ModuleMapCallbacks ( )
inlinevirtual

Definition at line 43 of file ModuleMap.h.

Member Function Documentation

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 57 of file ModuleMap.h.

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 63 of file ModuleMap.h.

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 51 of file ModuleMap.h.


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