clang API Documentation

Public Member Functions
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>

List of all members.

Public Member Functions

 KnownHeader ()
 KnownHeader (Module *M, ModuleHeaderRole Role)
ModulegetModule () 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

Detailed Description

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.


Constructor & Destructor Documentation

Definition at line 91 of file ModuleMap.h.

Definition at line 92 of file ModuleMap.h.


Member Function Documentation

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

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.


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