diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-26 08:51:47 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-26 08:51:47 -0600 |
commit | eb1ab91e1a12520d825cae60ee49655a0e8c4b94 (patch) | |
tree | b9ed57a06489a57d4bc42cfd7ed3d80b7b1fec1a /include/chillAST/chillASTs.hh | |
parent | e7de858ce27ded585d6e2ec4a5cbc3467c6a7593 (diff) | |
download | chill-eb1ab91e1a12520d825cae60ee49655a0e8c4b94.tar.gz chill-eb1ab91e1a12520d825cae60ee49655a0e8c4b94.tar.bz2 chill-eb1ab91e1a12520d825cae60ee49655a0e8c4b94.zip |
Node cleanup
Diffstat (limited to 'include/chillAST/chillASTs.hh')
-rw-r--r-- | include/chillAST/chillASTs.hh | 13 |
1 files changed, 0 insertions, 13 deletions
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(); |