clang-metatool
A framework for reusing code in clang tools
|
#include <clangmetatool/collectors/include_graph.h>
Public Member Functions | |
IncludeGraph (clang::CompilerInstance *ci, clang::ast_matchers::MatchFinder *f) | |
~IncludeGraph () | |
IncludeGraphData * | getData () |
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.
clangmetatool::collectors::IncludeGraph::IncludeGraph | ( | clang::CompilerInstance * | ci, |
clang::ast_matchers::MatchFinder * | f | ||
) |
Explicit constructor, to allow for implementation details.
clangmetatool::collectors::IncludeGraph::~IncludeGraph | ( | ) |
Explicit destructor.
IncludeGraphData* clangmetatool::collectors::IncludeGraph::getData | ( | ) |
Get the pointer to the data structure, populated or not.