summaryrefslogtreecommitdiff
path: root/src/ast/chillASTs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/chillASTs.cc')
-rw-r--r--src/ast/chillASTs.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ast/chillASTs.cc b/src/ast/chillASTs.cc
index 60603d2..4181638 100644
--- a/src/ast/chillASTs.cc
+++ b/src/ast/chillASTs.cc
@@ -1986,6 +1986,11 @@ chillAST_Node *chillAST_ParenExpr::clone() {
return PE;
}
+chillAST_Node *chillAST_ParenExpr::constantFold() {
+ chillAST_Node::constantFold();
+ return getSubExpr();
+}
+
chillAST_Sizeof::chillAST_Sizeof(char *athing) {
thing = strdup(athing); // memory leak
}