mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Further const placement changes.
This commit is contained in:
parent
c5c33485d8
commit
70d7d9b3bc
@ -71,7 +71,7 @@ private:
|
|||||||
Expression* m_expression;
|
Expression* m_expression;
|
||||||
};
|
};
|
||||||
|
|
||||||
bytes compileFirstExpression(const std::string& _sourceCode)
|
bytes compileFirstExpression(std::string const& _sourceCode)
|
||||||
{
|
{
|
||||||
Parser parser;
|
Parser parser;
|
||||||
ASTPointer<ContractDefinition> contract;
|
ASTPointer<ContractDefinition> contract;
|
||||||
|
@ -38,7 +38,7 @@ namespace test
|
|||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
void parseTextAndResolveNames(const std::string& _source)
|
void parseTextAndResolveNames(std::string const& _source)
|
||||||
{
|
{
|
||||||
Parser parser;
|
Parser parser;
|
||||||
ASTPointer<ContractDefinition> contract = parser.parse(
|
ASTPointer<ContractDefinition> contract = parser.parse(
|
||||||
|
@ -37,7 +37,7 @@ namespace test
|
|||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
ASTPointer<ASTNode> parseText(const std::string& _source)
|
ASTPointer<ASTNode> parseText(std::string const& _source)
|
||||||
{
|
{
|
||||||
Parser parser;
|
Parser parser;
|
||||||
return parser.parse(std::make_shared<Scanner>(CharStream(_source)));
|
return parser.parse(std::make_shared<Scanner>(CharStream(_source)));
|
||||||
|
Loading…
Reference in New Issue
Block a user