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

#include <clangmetatool/collectors/references.h>

Public Member Functions

 References (clang::CompilerInstance *ci, clang::ast_matchers::MatchFinder *f)
 
 ~References ()
 
ReferencesDatagetData ()
 

Detailed Description

References data collector. Collects References of functions and variables with global storage.

Definition at line 21 of file references.h.

Constructor & Destructor Documentation

◆ References()

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

Explicit constructor to allow for implementation details.

  • ci is a pointer to an instance of the clang compiler
  • f is a pointer to an instance of the MatchFinder class

◆ ~References()

clangmetatool::collectors::References::~References ( )

Explicit destructor.

Member Function Documentation

◆ getData()

ReferencesData* clangmetatool::collectors::References::getData ( )

Get the pointer to the object containing the data; populated or not.


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