clang-metatool
A framework for reusing code in clang tools
|
#include <clangmetatool/collectors/variable_refs.h>
Public Member Functions | |
VariableRefs (clang::CompilerInstance *ci, clang::ast_matchers::MatchFinder *f) | |
~VariableRefs () | |
VariableRefsData * | getData () |
Variable Refs data collector. Collects the information related to variable declarations and their usages.
Definition at line 24 of file variable_refs.h.
clangmetatool::collectors::VariableRefs::VariableRefs | ( | clang::CompilerInstance * | ci, |
clang::ast_matchers::MatchFinder * | f | ||
) |
Explicit constructor, to allow for implementation details.
clangmetatool::collectors::VariableRefs::~VariableRefs | ( | ) |
Explicit destructor.
VariableRefsData* clangmetatool::collectors::VariableRefs::getData | ( | ) |
Get the pointer to the data structure, populated or not.