clang 20.0.0git
|
This is used to identify a specific module. More...
#include "clang/Tooling/DependencyScanning/ModuleDepCollector.h"
Public Member Functions | |
bool | operator== (const ModuleID &Other) const |
bool | operator< (const ModuleID &Other) const |
Public Attributes | |
std::string | ModuleName |
The name of the module. | |
std::string | ContextHash |
The context hash of a module represents the compiler options that affect the resulting command-line invocation. | |
This is used to identify a specific module.
Definition at line 50 of file ModuleDepCollector.h.
Definition at line 70 of file ModuleDepCollector.h.
References ContextHash, ModuleName, and clang::Other.
Definition at line 65 of file ModuleDepCollector.h.
References ContextHash, ModuleName, and clang::Other.
std::string clang::tooling::dependencies::ModuleID::ContextHash |
The context hash of a module represents the compiler options that affect the resulting command-line invocation.
Modules with the same name and ContextHash but different invocations could cause non-deterministic build results.
Modules with the same name but a different ContextHash
should be treated as separate modules for the purpose of a build.
Definition at line 63 of file ModuleDepCollector.h.
Referenced by operator<(), operator==(), and clang::tooling::dependencies::FullDependencyConsumer::takeTranslationUnitDeps().
std::string clang::tooling::dependencies::ModuleID::ModuleName |
The name of the module.
This may include :
for C++20 module partitions, or a header-name for C++20 header units.
Definition at line 53 of file ModuleDepCollector.h.
Referenced by operator<(), and operator==().