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
- public KnownHeader()
- public KnownHeader(clang::Module * M, clang::ModuleMap::ModuleHeaderRole Role)
- public clang::Module * getModule() const
- public clang::ModuleMap::ModuleHeaderRole getRole() const
- public bool isAccessibleFrom(clang::Module * M) const
- public bool isAvailable() const
- public bool operator bool() const
Methods
¶KnownHeader()
KnownHeader()
Declared at: clang/include/clang/Lex/ModuleMap.h:159
¶KnownHeader(
clang::Module* M,
clang::ModuleMap::ModuleHeaderRole Role)
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
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
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
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
¶bool isAvailable() const
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
bool operator bool() const
Declared at: clang/include/clang/Lex/ModuleMap.h:188