clang-metatool
A framework for reusing code in clang tools
Public Member Functions | List of all members
clangmetatool::collectors::IncludeGraph Class Reference

#include <clangmetatool/collectors/include_graph.h>

Public Member Functions

 IncludeGraph (clang::CompilerInstance *ci, clang::ast_matchers::MatchFinder *f)
 
 ~IncludeGraph ()
 
IncludeGraphDatagetData ()
 

Detailed Description

Include Graph data collector. Collects the information related to include statements as well as references between different files in the translation unit.

Definition at line 26 of file include_graph.h.

Constructor & Destructor Documentation

◆ IncludeGraph()

clangmetatool::collectors::IncludeGraph::IncludeGraph ( clang::CompilerInstance *  ci,
clang::ast_matchers::MatchFinder *  f 
)

Explicit constructor, to allow for implementation details.

◆ ~IncludeGraph()

clangmetatool::collectors::IncludeGraph::~IncludeGraph ( )

Explicit destructor.

Member Function Documentation

◆ getData()

IncludeGraphData* clangmetatool::collectors::IncludeGraph::getData ( )

Get the pointer to the data structure, populated or not.


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