systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
FindSimTime.h
Go to the documentation of this file.
1#ifndef _FIND_SIM_TIME_H_
2#define _FIND_SIM_TIME_H_
3
4#include "Utility.h"
5#include "clang/AST/DeclCXX.h"
6#include "clang/AST/PrettyPrinter.h"
7#include "clang/AST/RecursiveASTVisitor.h"
8#include "llvm/Support/raw_ostream.h"
9#include <map>
10namespace systemc_clang {
11
12using namespace clang;
13using namespace std;
14
15class FindSimTime : public RecursiveASTVisitor<FindSimTime>, public Utility {
16public:
17 typedef pair<string, string> simulationTimePairType;
18 typedef map<string, string> simulationTimeMapType;
19
20 FindSimTime(FunctionDecl *, llvm::raw_ostream &);
21 virtual ~FindSimTime();
22 virtual bool VisitCallExpr(CallExpr *c);
23
25
26private:
27 llvm::raw_ostream &os_;
28 // FunctionDecl *_sigInst;
30 // CallExpr *call_expr_;
31};
32} // namespace systemc_clang
33#endif
A set of utility functions in the Utility class.
pair< string, string > simulationTimePairType
Definition FindSimTime.h:17
map< string, string > simulationTimeMapType
Definition FindSimTime.h:18
simulationTimeMapType simulation_time_
Definition FindSimTime.h:29
virtual bool VisitCallExpr(CallExpr *c)
llvm::raw_ostream & os_
Definition FindSimTime.h:27
FindSimTime(FunctionDecl *, llvm::raw_ostream &)
simulationTimeMapType returnSimTime()
Clang forward declarations.
Definition FindArgument.h:6