Instantiator
Generate c++ template instantiations
|
MatchCallback for template instantiation detections. More...
#include <Callbacks/GetNeededInstantiations.hpp>
Public Member Functions | |
virtual void | run (const clang::ast_matchers::MatchFinder::MatchResult &Result) override |
Public Attributes | |
std::vector< Injection > * | toDoList |
MatchCallback for template instantiation detections.
This callback is called for the Matcher TemplInstWithoutDef(). The Matcher returns a clang::FunctionDecl or a clang::CXXMethodDecl which has no definition in this translation unit and which is a template instantiation. This callback checks whether these instantiations are valid and then load the relevant data as an Injection.
Definition at line 19 of file GetNeededInstantiations.hpp.
|
overridevirtual |
Definition at line 11 of file GetNeededInstantiations.cpp.
std::vector<Injection>* GetNeededInstantiations::toDoList |
A pointer to an external vector of Injection which is filled during GetNeededInstantiations.
std::list
? Definition at line 26 of file GetNeededInstantiations.hpp.