struct FullDependencies

Declaration

struct FullDependencies { /* full declaration omitted */ };

Description

The full dependencies and module graph for a specific input.

Declared at: clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h:24

Member Variables

public clang::tooling::dependencies::ModuleID ID
If the translation unit is not a module then \c ID.ModuleName is empty.
public std::vector<std::string> FileDeps
A collection of absolute paths to files that this translation unit directly depends on, not including transitive dependencies.
public std::vector<PrebuiltModuleDep> PrebuiltModuleDeps
A collection of prebuilt modules this translation unit directly depends on, not including transitive dependencies.
public std::vector<ModuleID> ClangModuleDeps
This may include modules with a different context hash when it can be determined that the differences are benign for this compilation.
public std::vector<std::string> OriginalCommandLine
The original command line of the TU (excluding the compiler executable).

Method Overview

Methods

std::vector<std::string> getCommandLine(
    llvm::function_ref<std::string(
        const ModuleID&,
        ModuleOutputKind)> LookupOutput) const

Description

Get the full command line.

Declared at: clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h:53

Parameters

llvm::function_ref<std::string(const ModuleID&, ModuleOutputKind)> LookupOutput

std::vector<std::string>
getCommandLineWithoutModulePaths() const

Description

Get the full command line, excluding -fmodule-file=" arguments.

Declared at: clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h:58