clang 20.0.0git
|
A header that is known to reside within a given module, whether it was included or excluded. More...
#include "clang/Lex/ModuleMap.h"
Public Member Functions | |
KnownHeader () | |
KnownHeader (Module *M, ModuleHeaderRole Role) | |
Module * | getModule () const |
Retrieve the module the header is stored in. | |
ModuleHeaderRole | getRole () const |
The role of this header within the module. | |
bool | isAvailable () const |
Whether this header is available in the module. | |
bool | isAccessibleFrom (Module *M) const |
Whether this header is accessible from the specified module. | |
operator bool () const | |
Friends | |
bool | operator== (const KnownHeader &A, const KnownHeader &B) |
bool | operator!= (const KnownHeader &A, const KnownHeader &B) |
A header that is known to reside within a given module, whether it was included or excluded.
Definition at line 162 of file ModuleMap.h.
|
inline |
Definition at line 166 of file ModuleMap.h.
|
inline |
Definition at line 167 of file ModuleMap.h.
|
inline |
Retrieve the module the header is stored in.
Definition at line 177 of file ModuleMap.h.
Referenced by clang::ModuleMap::diagnoseHeaderInclusion(), clang::ModuleMap::findModuleForHeader(), clang::Preprocessor::getModuleForLocation(), isAccessibleFrom(), isAvailable(), isBetterKnownHeader(), and violatesPrivateInclude().
|
inline |
The role of this header within the module.
Definition at line 180 of file ModuleMap.h.
Referenced by clang::ModuleMap::diagnoseHeaderInclusion(), clang::ModuleMap::findModuleForHeader(), isAccessibleFrom(), isAvailable(), isBetterKnownHeader(), and violatesPrivateInclude().
Whether this header is accessible from the specified module.
Definition at line 188 of file ModuleMap.h.
References getModule(), getRole(), clang::Module::getTopLevelModule(), and clang::ModuleMap::PrivateHeader.
Referenced by violatesPrivateInclude().
|
inline |
Whether this header is available in the module.
Definition at line 183 of file ModuleMap.h.
References clang::ModuleMap::ExcludedHeader, getModule(), getRole(), and clang::Module::isAvailable().
|
inlineexplicit |
Definition at line 195 of file ModuleMap.h.
|
friend |
Definition at line 172 of file ModuleMap.h.
|
friend |
Definition at line 169 of file ModuleMap.h.