clang 20.0.0git
|
#include "clang/Tooling/DependencyScanning/ModuleDepCollector.h"
Public Member Functions | |
const std::vector< std::string > & | getBuildArguments () |
Get (or compute) the compiler invocation that can be used to build this module. | |
Public Attributes | |
ModuleID | ID |
The identifier of the module. | |
bool | IsSystem |
Whether this is a "system" module. | |
std::string | ClangModuleMapFile |
The path to the modulemap file which defines this module. | |
llvm::StringSet | FileDeps |
A collection of absolute paths to files that this module directly depends on, not including transitive dependencies. | |
std::vector< std::string > | ModuleMapFileDeps |
A collection of absolute paths to module map files that this module needs to know about. | |
std::vector< PrebuiltModuleDep > | PrebuiltModuleDeps |
A collection of prebuilt modular dependencies this module directly depends on, not including transitive dependencies. | |
std::vector< ModuleID > | ClangModuleDeps |
A list of module identifiers this module directly depends on, not including transitive dependencies. | |
llvm::SmallVector< Module::LinkLibrary, 2 > | LinkLibraries |
The set of libraries or frameworks to link against when an entity from this module is used. | |
Friends | |
class | ModuleDepCollectorPP |
Definition at line 110 of file ModuleDepCollector.h.
const std::vector< std::string > & ModuleDeps::getBuildArguments | ( | ) |
Get (or compute) the compiler invocation that can be used to build this module.
Does not include argv[0].
Definition at line 24 of file ModuleDepCollector.cpp.
|
friend |
Definition at line 151 of file ModuleDepCollector.h.
std::vector<ModuleID> clang::tooling::dependencies::ModuleDeps::ClangModuleDeps |
A list of module identifiers this module directly depends on, not including transitive dependencies.
This may include modules with a different context hash when it can be determined that the differences are benign for this compilation.
Definition at line 140 of file ModuleDepCollector.h.
Referenced by getModuleContextHash().
std::string clang::tooling::dependencies::ModuleDeps::ClangModuleMapFile |
The path to the modulemap file which defines this module.
This can be used to explicitly build this module. This file will additionally appear in FileDeps
as a dependency.
Definition at line 121 of file ModuleDepCollector.h.
llvm::StringSet clang::tooling::dependencies::ModuleDeps::FileDeps |
A collection of absolute paths to files that this module directly depends on, not including transitive dependencies.
Definition at line 125 of file ModuleDepCollector.h.
ModuleID clang::tooling::dependencies::ModuleDeps::ID |
The identifier of the module.
Definition at line 112 of file ModuleDepCollector.h.
Referenced by clang::tooling::dependencies::FullDependencyConsumer::handleModuleDependency().
bool clang::tooling::dependencies::ModuleDeps::IsSystem |
Whether this is a "system" module.
Definition at line 115 of file ModuleDepCollector.h.
llvm::SmallVector<Module::LinkLibrary, 2> clang::tooling::dependencies::ModuleDeps::LinkLibraries |
The set of libraries or frameworks to link against when an entity from this module is used.
Definition at line 144 of file ModuleDepCollector.h.
std::vector<std::string> clang::tooling::dependencies::ModuleDeps::ModuleMapFileDeps |
A collection of absolute paths to module map files that this module needs to know about.
The ordering is significant.
Definition at line 129 of file ModuleDepCollector.h.
std::vector<PrebuiltModuleDep> clang::tooling::dependencies::ModuleDeps::PrebuiltModuleDeps |
A collection of prebuilt modular dependencies this module directly depends on, not including transitive dependencies.
Definition at line 133 of file ModuleDepCollector.h.