clang  3.7.0
Public Member Functions | List of all members
clang::ModuleMap::KnownHeader Class Reference

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)
 
ModulegetModule () 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
 

Detailed Description

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.

Constructor & Destructor Documentation

clang::ModuleMap::KnownHeader::KnownHeader ( )
inline

Definition at line 94 of file ModuleMap.h.

clang::ModuleMap::KnownHeader::KnownHeader ( Module M,
ModuleHeaderRole  Role 
)
inline

Definition at line 95 of file ModuleMap.h.

Member Function Documentation

Module* clang::ModuleMap::KnownHeader::getModule ( ) const
inline
ModuleHeaderRole clang::ModuleMap::KnownHeader::getRole ( ) const
inline

The role of this header within the module.

Definition at line 101 of file ModuleMap.h.

Referenced by clang::ModuleMap::diagnoseHeaderInclusion(), and isBetterKnownHeader().

bool clang::ModuleMap::KnownHeader::isAvailable ( ) const
inline

Whether this header is available in the module.

Definition at line 104 of file ModuleMap.h.

References getModule(), and clang::Module::isAvailable().

clang::ModuleMap::KnownHeader::operator bool ( ) const
inlineexplicit

Definition at line 110 of file ModuleMap.h.


The documentation for this class was generated from the following file: