diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-09-26 22:37:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-09-28 08:12:14 +0200 |
commit | 84001596c9ee3d616ba9f0afffb5b1e959278f6c (patch) | |
tree | 49f25cb70462099cdb2c47895c4763fb5e45f32b /idlc/inc | |
parent | b085d55e5546c94d4e6e0f8cb6ff6d9f28c9d2e6 (diff) |
AstExpression::coerce always returned m_exprValue, so simplify its signature
Change-Id: I4fa380bc7e8d5b3581468cb0e6417b99587a1e9f
Diffstat (limited to 'idlc/inc')
-rw-r--r-- | idlc/inc/idlc/astexpression.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/idlc/inc/idlc/astexpression.hxx b/idlc/inc/idlc/astexpression.hxx index 1bd6f96d6ec6..deb0da48d211 100644 --- a/idlc/inc/idlc/astexpression.hxx +++ b/idlc/inc/idlc/astexpression.hxx @@ -104,11 +104,9 @@ public: { return m_combOperator; } AstExprValue* getExprValue() { return m_exprValue; } - void setExprValue(AstExprValue *pEv) - { m_exprValue = pEv; } // Evaluation and value coercion - AstExprValue* coerce(ExprType type); + bool coerce(ExprType type); // Evaluate then store value inside this AstExpression void evaluate(); |