Coding style cleanup: const and vecptr.

This commit is contained in:
Christian
2014-10-20 13:02:06 +02:00
parent 646f106a34
commit f0c334670d
12 changed files with 74 additions and 76 deletions
+2 -2
View File
@@ -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;