mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Mark a lot of functions const (where possible)
This commit is contained in:
@@ -1811,7 +1811,7 @@ void ExpressionCompiler::setLValueToStorageItem(Expression const& _expression)
|
||||
setLValue<StorageItem>(_expression, *_expression.annotation().type);
|
||||
}
|
||||
|
||||
bool ExpressionCompiler::cleanupNeededForOp(Type::Category _type, Token::Value _op)
|
||||
bool ExpressionCompiler::cleanupNeededForOp(Type::Category _type, Token::Value _op) const
|
||||
{
|
||||
if (Token::isCompareOp(_op) || Token::isShiftOp(_op))
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user