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

A simple dependency action controller that uses a callback. More...

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

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

Public Member Functions

virtual ~CallbackActionController ()
 
 CallbackActionController (LookupModuleOutputCallback LMO)
 
std::string lookupModuleOutput (const ModuleID &ID, ModuleOutputKind Kind) override
 
- Public Member Functions inherited from clang::tooling::dependencies::DependencyActionController
virtual ~DependencyActionController ()
 
virtual std::string lookupModuleOutput (const ModuleID &ID, ModuleOutputKind Kind)=0
 

Detailed Description

A simple dependency action controller that uses a callback.

If no callback is provided, it is assumed that looking up module outputs is unreachable.

Definition at line 198 of file DependencyScanningTool.h.

Constructor & Destructor Documentation

◆ ~CallbackActionController()

CallbackActionController::~CallbackActionController ( )
virtual

Definition at line 204 of file DependencyScanningTool.cpp.

◆ CallbackActionController()

clang::tooling::dependencies::CallbackActionController::CallbackActionController ( LookupModuleOutputCallback  LMO)
inline

Definition at line 202 of file DependencyScanningTool.h.

Member Function Documentation

◆ lookupModuleOutput()

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

Implements clang::tooling::dependencies::DependencyActionController.

Definition at line 212 of file DependencyScanningTool.h.

References ID, and Kind.


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