systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
FindTLMInterfaces.h
Go to the documentation of this file.
1#ifndef _FIND_TLM_INTERFACES_H_
2#define _FIND_TLM_INTERFACES_H_
3
4#include "FindTemplateTypes.h"
5#include "clang/AST/RecursiveASTVisitor.h"
6#include <map>
7
8namespace systemc_clang {
9using namespace clang;
10
11class FindTLMInterfaces : public RecursiveASTVisitor<FindTLMInterfaces> {
12public:
13 // / typedefs
14 typedef std::map<string, FindTemplateTypes *> interfaceType;
15 typedef std::pair<string, FindTemplateTypes *> kvType;
16
17 FindTLMInterfaces(CXXRecordDecl *, llvm::raw_ostream &);
18 virtual ~FindTLMInterfaces();
19
20 virtual bool VisitFieldDecl(FieldDecl *);
21
22 // ANI : Identifying only FIFO interfaces.
23 // Need to add the other interfaces
27
28 void dump();
29
30private:
31 llvm::raw_ostream &_os;
35};
36} // namespace systemc_clang
37#endif
std::map< string, FindTemplateTypes * > interfaceType
virtual bool VisitFieldDecl(FieldDecl *)
FindTLMInterfaces(CXXRecordDecl *, llvm::raw_ostream &)
std::pair< string, FindTemplateTypes * > kvType
Clang forward declarations.
Definition FindArgument.h:6