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

#include <clangmetatool/collectors/definitions.h>

Public Member Functions

 Definitions (clang::CompilerInstance *ci, clang::ast_matchers::MatchFinder *f)
 
 ~Definitions ()
 
DefinitionsDatagetData ()
 

Detailed Description

Definitions data collector. Collects Definitions and which files they're in.

Definition at line 20 of file definitions.h.

Constructor & Destructor Documentation

◆ Definitions()

clangmetatool::collectors::Definitions::Definitions ( 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

◆ ~Definitions()

clangmetatool::collectors::Definitions::~Definitions ( )

Explicit destructor.

Member Function Documentation

◆ getData()

DefinitionsData* clangmetatool::collectors::Definitions::getData ( )

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


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