clang 17.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]
Collaboration diagram for clang::tooling::dependencies::FullDependencyConsumer:
Collaboration graph
[legend]

Public Member Functions

 FullDependencyConsumer (const llvm::StringSet<> &AlreadySeen, LookupModuleOutputCallback LookupModuleOutput)
 
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 handleContextHash (std::string Hash) override
 
std::string lookupModuleOutput (const ModuleID &ID, ModuleOutputKind Kind) override
 
TranslationUnitDeps takeTranslationUnitDeps ()
 
ModuleDepsGraph takeModuleGraphDeps ()
 
- Public Member Functions inherited from clang::tooling::dependencies::DependencyConsumer
virtual ~DependencyConsumer ()
 
virtual void handleBuildCommand (Command Cmd)=0
 
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 handleContextHash (std::string Hash)=0
 
virtual std::string lookupModuleOutput (const ModuleID &ID, ModuleOutputKind Kind)=0
 

Detailed Description

Definition at line 122 of file DependencyScanningTool.h.

Constructor & Destructor Documentation

◆ FullDependencyConsumer()

clang::tooling::dependencies::FullDependencyConsumer::FullDependencyConsumer ( const llvm::StringSet<> &  AlreadySeen,
LookupModuleOutputCallback  LookupModuleOutput 
)
inline

Definition at line 124 of file DependencyScanningTool.h.

Member Function Documentation

◆ handleBuildCommand()

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

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

Definition at line 128 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

◆ 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

◆ lookupModuleOutput()

std::string clang::tooling::dependencies::FullDependencyConsumer::lookupModuleOutput ( const ModuleID ID,
ModuleOutputKind  Kind 
)
inlineoverridevirtual

◆ takeModuleGraphDeps()

ModuleDepsGraph FullDependencyConsumer::takeModuleGraphDeps ( )

◆ takeTranslationUnitDeps()

TranslationUnitDeps FullDependencyConsumer::takeTranslationUnitDeps ( )

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