class ModuleMapCallbacks

Declaration

class ModuleMapCallbacks { /* full declaration omitted */ };

Description

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

Declared at: clang/include/clang/Lex/ModuleMap.h:47

Method Overview

Methods

virtual void anchor()

Declared at: clang/include/clang/Lex/ModuleMap.h:48

virtual void moduleMapAddHeader(
    llvm::StringRef Filename)

Description

Called when a header is added during module map parsing.

Declared at: clang/include/clang/Lex/ModuleMap.h:65

Parameters

llvm::StringRef Filename
The header file itself.

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

Description

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

Declared at: clang/include/clang/Lex/ModuleMap.h:71

Parameters

clang::FileManager* FileMgr
FileManager instance
const clang::FileEntry* Header
The umbrella header to collect.

virtual void moduleMapFileRead(
    clang::SourceLocation FileStart,
    const clang::FileEntry& File,
    bool IsSystem)

Description

Called when a module map file has been read.

Declared at: clang/include/clang/Lex/ModuleMap.h:59

Parameters

clang::SourceLocation FileStart
A SourceLocation referring to the start of the file's contents.
const clang::FileEntry& File
The file itself.
bool IsSystem
Whether this is a module map from a system include path.

virtual ~ModuleMapCallbacks()

Declared at: clang/include/clang/Lex/ModuleMap.h:51