From 7b0774752e8f163f4861bb338172fcdcd60cee36 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Thu, 29 Sep 2016 16:15:38 -0600 Subject: changes for recusing --- src/ast/node.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src') diff --git a/src/ast/node.cpp b/src/ast/node.cpp index 1b1995c..7af48f1 100644 --- a/src/ast/node.cpp +++ b/src/ast/node.cpp @@ -7,20 +7,8 @@ #include "printer/cfamily.h" #include -void chillAST_Node::fixChildInfo(std::stack &tdt, std::stack &st, - chillAST_SourceFile *s) { - -} - void chillAST_Node::fixChildInfo() {} -void chillAST_Node::mergeChildInfo(chillAST_Node) { - // TODO if (par) par->add to definition for vardecl/typedecl - // TODO if (par) par->getSourceFile()->addFunc(this); for FuncDecl - // TODO if (par) par->getSourceFile()->addMacro(this); For MacroDecl - // TODO if (parent) parent->addVariableToSymbolTable(this); // should percolate up until something has a symbol table -} - void chillAST_Node::addChild(chillAST_Node *c) { c->parent = this; // check to see if it's already there -- cgit v1.2.3-70-g09d2