summaryrefslogtreecommitdiff
path: root/src/expr/expr_value.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2009-11-18 22:02:11 +0000
committerMorgan Deters <mdeters@gmail.com>2009-11-18 22:02:11 +0000
commit394791604a62e19763a8a45328bc5177d91fabf9 (patch)
tree29027c84c0285da33bac6c5d1366635b9e4db1bc /src/expr/expr_value.h
parent477e97cd81afe4b86eea47e9abe6311fc22299fc (diff)
work on exprs, driver, util
Diffstat (limited to 'src/expr/expr_value.h')
-rw-r--r--src/expr/expr_value.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/expr/expr_value.h b/src/expr/expr_value.h
index 5f90533ed..4b4b4f612 100644
--- a/src/expr/expr_value.h
+++ b/src/expr/expr_value.h
@@ -48,6 +48,10 @@ class ExprValue {
Expr d_children[0];
friend class Expr;
+ friend class ExprBuilder;
+
+ ExprValue* inc() { /* FIXME thread safety */ ++d_rc; return this; }
+ ExprValue* dec() { /* FIXME thread safety */ --d_rc; return this; }
public:
/** Hash this expression.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback