clang 17.0.0git
Public Member Functions | Public Attributes | List of all members
clang::Module::Header Struct Reference

Information about a header directive as found in the module map file. More...

#include "clang/Basic/Module.h"

Collaboration diagram for clang::Module::Header:
Collaboration graph
[legend]

Public Member Functions

 operator bool ()
 

Public Attributes

std::string NameAsWritten
 
std::string PathRelativeToRootModuleDirectory
 
OptionalFileEntryRefDegradesToFileEntryPtr Entry
 

Detailed Description

Information about a header directive as found in the module map file.

Definition at line 215 of file Module.h.

Member Function Documentation

◆ operator bool()

clang::Module::Header::operator bool ( )
inlineexplicit

Definition at line 220 of file Module.h.

References Entry, and clang::CustomizableOptional< T >::has_value().

Member Data Documentation

◆ Entry

OptionalFileEntryRefDegradesToFileEntryPtr clang::Module::Header::Entry

Definition at line 218 of file Module.h.

Referenced by clang::ModuleMap::addHeader(), operator bool(), and violatesPrivateInclude().

◆ NameAsWritten

std::string clang::Module::Header::NameAsWritten

Definition at line 216 of file Module.h.

Referenced by compareModuleHeaders().

◆ PathRelativeToRootModuleDirectory

std::string clang::Module::Header::PathRelativeToRootModuleDirectory

Definition at line 217 of file Module.h.


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