Class CallerCalleeMatcher

Inheritance Relationships

Base Type

  • public MatchCallback

Class Documentation

class sc_ast_matchers::CallerCalleeMatcher : public MatchCallback

Class CallerCaleeMatcher

This class identifies for a method call, who is the caller, and who is the callee.

Public Functions

inline CallerCalleeType getCallerCallee() const

This returns a list of all the caller and callees that are identified.

inline void registerMatchers(MatchFinder &finder, clang::DeclRefExpr *vd)

Register the matchers to identify caller and callees.

inline virtual void run(const MatchFinder::MatchResult &result)

This is the callback function when there is a match.

inline void dump()

Dump out the caller and callee found in the sensitivity list.