Instantiator
Generate c++ template instantiations
Loading...
Searching...
No Matches
DependencyAction Class Reference

Action to compute the (header) dependencies of a source file. More...

#include <Actions/DependencyAction.hpp>

Inheritance diagram for DependencyAction:
[legend]
Collaboration diagram for DependencyAction:
[legend]

Public Member Functions

virtual bool usesPreprocessOnly () const
 
bool BeginSourceFileAction (clang::CompilerInstance &ci)
 
virtual void EndSourceFileAction ()
 

Public Attributes

std::vector< std::string > * dependencies
 

Private Attributes

std::unique_ptr< myDependencyCollectorcol
 

Detailed Description

Action to compute the (header) dependencies of a source file.

This action uses the compilers -MM option to get all dependencies of a source file.

Definition at line 25 of file DependencyAction.hpp.

Member Function Documentation

◆ BeginSourceFileAction()

bool DependencyAction::BeginSourceFileAction ( clang::CompilerInstance & ci)

Definition at line 14 of file DependencyAction.cpp.

◆ EndSourceFileAction()

void DependencyAction::EndSourceFileAction ( )
virtual

Definition at line 22 of file DependencyAction.cpp.

◆ usesPreprocessOnly()

bool DependencyAction::usesPreprocessOnly ( ) const
virtual

Definition at line 13 of file DependencyAction.cpp.

Member Data Documentation

◆ col

std::unique_ptr<myDependencyCollector> DependencyAction::col
private

Definition at line 28 of file DependencyAction.hpp.

◆ dependencies

std::vector<std::string>* DependencyAction::dependencies

Definition at line 31 of file DependencyAction.hpp.


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