4#include "clang/AST/RecursiveASTVisitor.h"
5#include "llvm/Support/raw_ostream.h"
17class FindEvents :
public clang::RecursiveASTVisitor<FindEvents> {
21 typedef std::pair<std::string, clang::FieldDecl *>
kvType;
23 FindEvents(clang::CXXRecordDecl *, llvm::raw_ostream &);
37 llvm::raw_ostream &
os_;
std::map< std::string, clang::FieldDecl * > classEventMapType
typedefs
void dump()
Print methods.
std::pair< std::string, clang::FieldDecl * > kvType
classEventMapType _inClassEvents
FindEvents(clang::CXXRecordDecl *, llvm::raw_ostream &)
virtual bool VisitFieldDecl(clang::FieldDecl *)
RecursiveASTVisitor methods.
std::vector< std::string > getEventNames()
classEventMapType getInClassEvents()
Access methods.
Clang forward declarations.