diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-30 14:14:51 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-30 14:14:51 -0600 |
commit | 79b47d47c0c8ecdce651024b41b9109f05593010 (patch) | |
tree | cd99cc71c960343d5707db4a8fec0794821539a3 /include/chillAST/chillAST_node.hh | |
parent | 87e7538503756d036fec4c2b18a9c19d126626a4 (diff) | |
download | chill-79b47d47c0c8ecdce651024b41b9109f05593010.tar.gz chill-79b47d47c0c8ecdce651024b41b9109f05593010.tar.bz2 chill-79b47d47c0c8ecdce651024b41b9109f05593010.zip |
fixes
Diffstat (limited to 'include/chillAST/chillAST_node.hh')
-rw-r--r-- | include/chillAST/chillAST_node.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/chillAST/chillAST_node.hh b/include/chillAST/chillAST_node.hh index 4db00ce..ea9bf8b 100644 --- a/include/chillAST/chillAST_node.hh +++ b/include/chillAST/chillAST_node.hh @@ -39,7 +39,7 @@ protected: * Fix the pointer reference in a source file * @param nameMap a mapping from string to the corresponding declarations, stack is used to mimic scoping */ - void fixReference(std::map<std::string, std::stack<chillAST_Node*>> nameMap); + void fixReference(std::map<std::string, std::stack<chillAST_Node*> > nameMap); public: // TODO decide how to hide some data //! this Node's parent @@ -303,6 +303,7 @@ public: virtual void gatherVarUsage(std::vector<chillAST_VarDecl *> &decls); + //! Gather all variable that is used as a lefthand side operand virtual void gatherVarLHSUsage(std::vector<chillAST_VarDecl *> &decls) { fprintf(stderr, "(%s) forgot to implement gatherVarLHSUsage()\n", getTypeString()); }; |