From d0c36795a0998f9ad143c01882cb33334cbd471c Mon Sep 17 00:00:00 2001 From: Liana Husikyan Date: Fri, 20 Feb 2015 20:09:46 +0100 Subject: renamed fromIdentifier to fromStateVariable --- ExpressionCompiler.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'ExpressionCompiler.h') diff --git a/ExpressionCompiler.h b/ExpressionCompiler.h index a29abc7f..889c58b1 100644 --- a/ExpressionCompiler.h +++ b/ExpressionCompiler.h @@ -132,12 +132,8 @@ private: std::shared_ptr const& _dataType, unsigned _baseStackOffset = 0); /// Set type according to the declaration and retrieve the reference. - /// @a _identifier is the current identifier - void fromIdentifier(Identifier const& _identifier, Declaration const& _declaration); - - /// Set type according to the declaration and retrieve the reference. - /// @a _declaration is the variable declaration - void fromVariableDeclaration(const Declaration &_declaration); + /// @a _location is the current location + void fromDeclaration(Declaration const& _declaration, Location const& _location); void reset() { m_type = LValueType::None; m_dataType.reset(); m_baseStackOffset = 0; m_size = 0; } -- cgit v1.2.3