clang API Documentation
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. | |
ModuleHeaderRole | getRole () const |
The role of this header within the module. | |
bool | isAvailable () const |
Whether this header is available in the module. | |
LLVM_EXPLICIT | operator bool () const |
A header that is known to reside within a given module, whether it was included or excluded.
Definition at line 87 of file ModuleMap.h.
clang::ModuleMap::KnownHeader::KnownHeader | ( | ) | [inline] |
Definition at line 91 of file ModuleMap.h.
clang::ModuleMap::KnownHeader::KnownHeader | ( | Module * | M, |
ModuleHeaderRole | Role | ||
) | [inline] |
Definition at line 92 of file ModuleMap.h.
Module* clang::ModuleMap::KnownHeader::getModule | ( | ) | const [inline] |
Retrieve the module the header is stored in.
Definition at line 95 of file ModuleMap.h.
Referenced by clang::ModuleMap::diagnoseHeaderInclusion(), clang::ModuleMap::findModuleForHeader(), getFileAndSuggestModule(), clang::ModuleMap::inferModuleFromLocation(), and isAvailable().
ModuleHeaderRole clang::ModuleMap::KnownHeader::getRole | ( | ) | const [inline] |
The role of this header within the module.
Definition at line 98 of file ModuleMap.h.
Referenced by clang::ModuleMap::diagnoseHeaderInclusion(), and clang::ModuleMap::findModuleForHeader().
bool clang::ModuleMap::KnownHeader::isAvailable | ( | ) | const [inline] |
Whether this header is available in the module.
Definition at line 101 of file ModuleMap.h.
References getModule(), and clang::Module::isAvailable().
LLVM_EXPLICIT clang::ModuleMap::KnownHeader::operator bool | ( | ) | const [inline] |
Definition at line 107 of file ModuleMap.h.