From eb1ab91e1a12520d825cae60ee49655a0e8c4b94 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Mon, 26 Sep 2016 08:51:47 -0600 Subject: Node cleanup --- include/chillAST/chillASTs.hh | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'include/chillAST/chillASTs.hh') diff --git a/include/chillAST/chillASTs.hh b/include/chillAST/chillASTs.hh index 8e5cee0..4ff70c9 100644 --- a/include/chillAST/chillASTs.hh +++ b/include/chillAST/chillASTs.hh @@ -227,8 +227,6 @@ public: }; // required methods that I can't seem to get to inherit - char *stringRep(int indent = 0); - chillAST_Node *constantFold(); chillAST_Node *clone(); @@ -498,15 +496,10 @@ public: virtual CHILLAST_NODE_TYPE getType() { return CHILLAST_NODE_MACRODEFINITION; } char *macroName; - char *rhsString; // parameters - these will be odd, in that they HAVE NO TYPE void setName(char *n) { macroName = strdup(n); /* probable memory leak */ }; - void setRhsString(char *n) { rhsString = strdup(n); /* probable memory leak */ }; - - char *getRhsString() { return rhsString; } - chillAST_MacroDefinition(const char *name, const char *rhs); void addChild(chillAST_Node *node); // special because inserts into BODY @@ -808,8 +801,6 @@ public: // required methods that I can't seem to get to inherit - char *stringRep(int indent = 0); - chillAST_Node *constantFold(); chillAST_Node *clone(); @@ -879,8 +870,6 @@ public: void replaceChild(chillAST_Node *old, chillAST_Node *newchild); // will examine index // required methods that I can't seem to get to inherit - char *stringRep(int indent = 0); - chillAST_Node *constantFold(); chillAST_Node *clone(); @@ -941,8 +930,6 @@ public: bool operator==(const chillAST_MemberExpr &); // required methods that I can't seem to get to inherit - char *stringRep(int indent = 0); - chillAST_Node *constantFold(); chillAST_Node *clone(); -- cgit v1.2.3-70-g09d2