Commit 26c5fb05 authored by rmrf's avatar rmrf

Cleanup code.

parent 6bc29b76
......@@ -6,23 +6,23 @@
#include "clang/AST/RecursiveASTVisitor.h"
namespace scpar {
using namespace clang;
using namespace std;
using namespace clang;
using namespace std;
class FindArgument:public RecursiveASTVisitor < FindArgument > {
class FindArgument:public RecursiveASTVisitor < FindArgument > {
public:
FindArgument( Expr * );
public:
FindArgument( Expr * );
virtual ~FindArgument();
virtual bool VisitMemberExpr (MemberExpr * me);
virtual bool VisitDeclRefExpr (DeclRefExpr * de);
virtual bool VisitIntegerLiteral (IntegerLiteral * il);
virtual bool VisitMemberExpr (MemberExpr * me);
virtual bool VisitDeclRefExpr (DeclRefExpr * de);
virtual bool VisitIntegerLiteral (IntegerLiteral * il);
virtual bool VisitCXXBoolLiteralExpr (CXXBoolLiteralExpr * bl);
string getArgumentName();
private:
Expr * expression_;
string argument_name_;
};
string getArgumentName();
private:
Expr * expression_;
string argument_name_;
};
}
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment