clang
7.0.0
|
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. More... | |
ModuleHeaderRole | getRole () const |
The role of this header within the module. More... | |
bool | isAvailable () const |
Whether this header is available in the module. More... | |
bool | isAccessibleFrom (Module *M) const |
Whether this header is accessible from the specified module. More... | |
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 149 of file ModuleMap.h.
|
inline |
Definition at line 153 of file ModuleMap.h.
|
inline |
Definition at line 154 of file ModuleMap.h.
|
inline |
Retrieve the module the header is stored in.
Definition at line 164 of file ModuleMap.h.
Referenced by clang::Preprocessor::checkModuleIsAvailable(), clang::ModuleMap::diagnoseHeaderInclusion(), clang::ModuleMap::findModuleForHeader(), clang::Preprocessor::getModuleForLocation(), isBetterKnownHeader(), suggestModule(), and violatesPrivateInclude().
|
inline |
The role of this header within the module.
Definition at line 167 of file ModuleMap.h.
Referenced by isBetterKnownHeader(), suggestModule(), and violatesPrivateInclude().
Whether this header is accessible from the specified module.
Definition at line 175 of file ModuleMap.h.
References clang::Module::getTopLevelModule().
Referenced by violatesPrivateInclude().
|
inline |
Whether this header is available in the module.
Definition at line 170 of file ModuleMap.h.
|
inlineexplicit |
Definition at line 182 of file ModuleMap.h.
|
friend |
Definition at line 159 of file ModuleMap.h.
|
friend |
Definition at line 156 of file ModuleMap.h.