clang 20.0.0git
Public Member Functions | List of all members
clang::tooling::dependencies::FullDependencyConsumer Class Reference

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

Inheritance diagram for clang::tooling::dependencies::FullDependencyConsumer:
Inheritance graph
[legend]

Public Member Functions

 FullDependencyConsumer (const llvm::DenseSet< ModuleID > &AlreadySeen)
 
void handleBuildCommand (Command Cmd) override
 
void handleDependencyOutputOpts (const DependencyOutputOptions &) override
 
void handleFileDependency (StringRef File) override
 
void handlePrebuiltModuleDependency (PrebuiltModuleDep PMD) override
 
void handleModuleDependency (ModuleDeps MD) override
 
void handleDirectModuleDependency (ModuleID ID) override
 
void handleContextHash (std::string Hash) override
 
TranslationUnitDeps takeTranslationUnitDeps ()
 
ModuleDepsGraph takeModuleGraphDeps ()
 
- Public Member Functions inherited from clang::tooling::dependencies::DependencyConsumer
virtual ~DependencyConsumer ()
 
virtual void handleProvidedAndRequiredStdCXXModules (std::optional< P1689ModuleInfo > Provided, std::vector< P1689ModuleInfo > Requires)
 
virtual void handleBuildCommand (Command Cmd)
 
virtual void handleDependencyOutputOpts (const DependencyOutputOptions &Opts)=0
 
virtual void handleFileDependency (StringRef Filename)=0
 
virtual void handlePrebuiltModuleDependency (PrebuiltModuleDep PMD)=0
 
virtual void handleModuleDependency (ModuleDeps MD)=0
 
virtual void handleDirectModuleDependency (ModuleID MD)=0
 
virtual void handleContextHash (std::string Hash)=0
 

Detailed Description

Definition at line 151 of file DependencyScanningTool.h.

Constructor & Destructor Documentation

◆ FullDependencyConsumer()

clang::tooling::dependencies::FullDependencyConsumer::FullDependencyConsumer ( const llvm::DenseSet< ModuleID > &  AlreadySeen)
inline

Definition at line 153 of file DependencyScanningTool.h.

Member Function Documentation

◆ handleBuildCommand()

void clang::tooling::dependencies::FullDependencyConsumer::handleBuildCommand ( Command  Cmd)
inlineoverridevirtual

Reimplemented from clang::tooling::dependencies::DependencyConsumer.

Definition at line 156 of file DependencyScanningTool.h.

References Cmd.

◆ handleContextHash()

void clang::tooling::dependencies::FullDependencyConsumer::handleContextHash ( std::string  Hash)
inlineoverridevirtual

◆ handleDependencyOutputOpts()

void clang::tooling::dependencies::FullDependencyConsumer::handleDependencyOutputOpts ( const DependencyOutputOptions )
inlineoverridevirtual

◆ handleDirectModuleDependency()

void clang::tooling::dependencies::FullDependencyConsumer::handleDirectModuleDependency ( ModuleID  ID)
inlineoverridevirtual

Implements clang::tooling::dependencies::DependencyConsumer.

Definition at line 174 of file DependencyScanningTool.h.

References ID.

◆ handleFileDependency()

void clang::tooling::dependencies::FullDependencyConsumer::handleFileDependency ( StringRef  File)
inlineoverridevirtual

◆ handleModuleDependency()

void clang::tooling::dependencies::FullDependencyConsumer::handleModuleDependency ( ModuleDeps  MD)
inlineoverridevirtual

◆ handlePrebuiltModuleDependency()

void clang::tooling::dependencies::FullDependencyConsumer::handlePrebuiltModuleDependency ( PrebuiltModuleDep  PMD)
inlineoverridevirtual

◆ takeModuleGraphDeps()

ModuleDepsGraph FullDependencyConsumer::takeModuleGraphDeps ( )

◆ takeTranslationUnitDeps()

TranslationUnitDeps FullDependencyConsumer::takeTranslationUnitDeps ( )

The documentation for this class was generated from the following files: