clang-metatool
A framework for reusing code in clang tools
|
#include <clangmetatool/collectors/find_calls.h>
Public Member Functions | |
FindCalls (clang::CompilerInstance *ci, clang::ast_matchers::MatchFinder *f, std::string n) | |
~FindCalls () | |
FindCallsData * | getData () |
Find Calls data collector. Collects the caller and references to the specified function and one of its arguments.
Definition at line 22 of file find_calls.h.
clangmetatool::collectors::FindCalls::FindCalls | ( | clang::CompilerInstance * | ci, |
clang::ast_matchers::MatchFinder * | f, | ||
std::string | n | ||
) |
Explicit constructor, to allow for implementation details:
clangmetatool::collectors::FindCalls::~FindCalls | ( | ) |
Explicit destructor.
FindCallsData* clangmetatool::collectors::FindCalls::getData | ( | ) |
Get the pointer to the data structure, populated or not.