aboutsummaryrefslogtreecommitdiffstats
path: root/Parser.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-10-20 19:02:06 +0800
committerChristian <c@ethdev.com>2014-10-20 19:02:06 +0800
commitf0c334670dfef7c1b1d1ae610cf19ae9ad2822ca (patch)
tree7979e36c4b962bb3da82f86df52518b321bca947 /Parser.h
parent646f106a34f189b225745a079fdc8560b9230e68 (diff)
downloaddexon-solidity-f0c334670dfef7c1b1d1ae610cf19ae9ad2822ca.tar.gz
dexon-solidity-f0c334670dfef7c1b1d1ae610cf19ae9ad2822ca.tar.zst
dexon-solidity-f0c334670dfef7c1b1d1ae610cf19ae9ad2822ca.zip
Coding style cleanup: const and vecptr.
Diffstat (limited to 'Parser.h')
-rw-r--r--Parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser.h b/Parser.h
index 174ed712..2a861321 100644
--- a/Parser.h
+++ b/Parser.h
@@ -63,7 +63,7 @@ private:
ptr<Expression> parseUnaryExpression();
ptr<Expression> parseLeftHandSideExpression();
ptr<Expression> parsePrimaryExpression();
- vecptr<Expression> parseFunctionCallArguments();
+ std::vector<ptr<Expression>> parseFunctionCallArguments();
/// @}
/// Helper functions
@@ -73,7 +73,7 @@ private:
Token::Value expectAssignmentOperator();
ptr<ASTString> expectIdentifierToken();
ptr<ASTString> getLiteralAndAdvance();
- void throwExpectationError(const std::string& _description);
+ void throwExpectationError(std::string const& _description);
/// @}
std::shared_ptr<Scanner> m_scanner;