clang 20.0.0git
Public Types | Public Attributes | List of all members
clang::tooling::dependencies::P1689ModuleInfo Struct Reference

P1689ModuleInfo - Represents the needed information of standard C++20 modules for P1689 format. More...

#include "clang/Tooling/DependencyScanning/ModuleDepCollector.h"

Public Types

enum class  ModuleType { NamedCXXModule }
 

Public Attributes

std::string ModuleName
 The name of the module. This may include : for partitions.
 
std::string SourcePath
 Optional. The source path to the module.
 
bool IsStdCXXModuleInterface = true
 If this module is a standard c++ interface unit.
 
ModuleType Type = ModuleType::NamedCXXModule
 

Detailed Description

P1689ModuleInfo - Represents the needed information of standard C++20 modules for P1689 format.

Definition at line 78 of file ModuleDepCollector.h.

Member Enumeration Documentation

◆ ModuleType

Enumerator
NamedCXXModule 

Definition at line 88 of file ModuleDepCollector.h.

Member Data Documentation

◆ IsStdCXXModuleInterface

bool clang::tooling::dependencies::P1689ModuleInfo::IsStdCXXModuleInterface = true

If this module is a standard c++ interface unit.

Definition at line 86 of file ModuleDepCollector.h.

Referenced by clang::tooling::dependencies::ModuleDepCollectorPP::EndOfMainFile().

◆ ModuleName

std::string clang::tooling::dependencies::P1689ModuleInfo::ModuleName

The name of the module. This may include : for partitions.

Definition at line 80 of file ModuleDepCollector.h.

Referenced by clang::tooling::dependencies::ModuleDepCollectorPP::EndOfMainFile(), and clang::tooling::dependencies::ModuleDepCollectorPP::moduleImport().

◆ SourcePath

std::string clang::tooling::dependencies::P1689ModuleInfo::SourcePath

Optional. The source path to the module.

Definition at line 83 of file ModuleDepCollector.h.

◆ Type

ModuleType clang::tooling::dependencies::P1689ModuleInfo::Type = ModuleType::NamedCXXModule

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