6#include "clang/AST/RecursiveASTVisitor.h"
7#include "llvm/Support/raw_ostream.h"
18class FindWait :
public RecursiveASTVisitor<FindWait> {
22 typedef std::pair<clang::CXXMethodDecl *, vector<std::string>>
24 typedef std::map<clang::CXXMethodDecl *, vector<std::string>>
27 FindWait(clang::CXXMethodDecl *, llvm::raw_ostream &);
40 llvm::raw_ostream &
os_;
vector< WaitContainer * > waitListType
waitListType wait_calls_list_
FindWait(clang::CXXMethodDecl *, llvm::raw_ostream &)
bool shouldVisitTemplateInstantiations() const
clang::CXXMethodDecl * getEntryMethod() const
std::map< clang::CXXMethodDecl *, vector< std::string > > processWaitEventMapType
std::pair< clang::CXXMethodDecl *, vector< std::string > > processWaitEventPairType
virtual bool VisitCallExpr(clang::CallExpr *expr)
clang::CallExpr * wait_call_
waitListType getWaitCalls()
clang::CXXMethodDecl * entry_method_decl_
bool VisitUnresolvedMemberExpr(clang::UnresolvedMemberExpr *e)
Clang forward declarations.