class ModuleMap::KnownHeader

Declaration

class ModuleMap::KnownHeader { /* full declaration omitted */ };

Description

A header that is known to reside within a given module, whether it was included or excluded.

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

Member Variables

private llvm::PointerIntPair<Module*, 2, ModuleHeaderRole> Storage

Method Overview

Methods

KnownHeader()

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

KnownHeader(
    clang::Module* M,
    clang::ModuleMap::ModuleHeaderRole Role)

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

Parameters

clang::Module* M
clang::ModuleMap::ModuleHeaderRole Role

clang::Module* getModule() const

Description

Retrieve the module the header is stored in.

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

clang::ModuleMap::ModuleHeaderRole getRole() const

Description

The role of this header within the module.

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

bool isAccessibleFrom(clang::Module* M) const

Description

Whether this header is accessible from the specified module.

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

Parameters

clang::Module* M

bool isAvailable() const

Description

Whether this header is available in the module.

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

bool operator bool() const

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