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

#include <clangmetatool/collectors/variable_refs.h>

Public Member Functions

 VariableRefs (clang::CompilerInstance *ci, clang::ast_matchers::MatchFinder *f)
 
 ~VariableRefs ()
 
VariableRefsDatagetData ()
 

Detailed Description

Variable Refs data collector. Collects the information related to variable declarations and their usages.

Definition at line 24 of file variable_refs.h.

Constructor & Destructor Documentation

◆ VariableRefs()

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

Explicit constructor, to allow for implementation details.

◆ ~VariableRefs()

clangmetatool::collectors::VariableRefs::~VariableRefs ( )

Explicit destructor.

Member Function Documentation

◆ getData()

VariableRefsData* clangmetatool::collectors::VariableRefs::getData ( )

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


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