From efda1444166c8d4f8dd7d7b085868f1596b3b9fb Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Thu, 22 Sep 2016 01:03:57 -0600 Subject: more clang hack --- include/chill_ast.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/chill_ast.hh') diff --git a/include/chill_ast.hh b/include/chill_ast.hh index 0803254..a0cfe2d 100644 --- a/include/chill_ast.hh +++ b/include/chill_ast.hh @@ -726,8 +726,8 @@ public: //TODO hide data, set/get type and alias chillAST_TypedefDecl(); - chillAST_TypedefDecl(char *t, char *nt, chillAST_node *p); - chillAST_TypedefDecl(char *t, char *nt, char *a, chillAST_node *par); + chillAST_TypedefDecl(char *t, const char *nt, chillAST_node *p); + chillAST_TypedefDecl(char *t, const char *nt, char *a, chillAST_node *par); const char* getUnderlyingType() { fprintf(stderr, "TypedefDecl getUnderLyingType()\n"); return underlyingtype; }; //virtual chillAST_VarDecl* getUnderlyingVarDecl() { return this; }; // ?? -- cgit v1.2.3-70-g09d2