clang
3.7.0
|
A header that is known to reside within a given module, whether it was included or excluded. More...
#include <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... | |
operator bool () const | |
A header that is known to reside within a given module, whether it was included or excluded.
Definition at line 90 of file ModuleMap.h.
|
inline |
Definition at line 94 of file ModuleMap.h.
|
inline |
Definition at line 95 of file ModuleMap.h.
|
inline |
Retrieve the module the header is stored in.
Definition at line 98 of file ModuleMap.h.
Referenced by clang::ModuleMap::diagnoseHeaderInclusion(), clang::ModuleMap::findModuleForHeader(), getFileAndSuggestModule(), clang::Preprocessor::getModuleForLocation(), clang::ModuleMap::inferModuleFromLocation(), and isAvailable().
|
inline |
The role of this header within the module.
Definition at line 101 of file ModuleMap.h.
Referenced by clang::ModuleMap::diagnoseHeaderInclusion(), and isBetterKnownHeader().
|
inline |
Whether this header is available in the module.
Definition at line 104 of file ModuleMap.h.
References getModule(), and clang::Module::isAvailable().
|
inlineexplicit |
Definition at line 110 of file ModuleMap.h.