clang 22.0.0git
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 120 of file ModuleDepCollector.h.

Member Enumeration Documentation

◆ ModuleType

Enumerator
NamedCXXModule 

Definition at line 130 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 128 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 122 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 125 of file ModuleDepCollector.h.

◆ Type


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