diff options
author | Christian <c@ethdev.com> | 2014-10-23 06:24:07 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-10-23 06:24:07 +0800 |
commit | fd046d7c9088498fbb0bded6a8ca69554155f483 (patch) | |
tree | 848b43ed7ee8c2984ce8748030b4c29c37a0ef10 /NameAndTypeResolver.cpp | |
parent | c8b008558d1fe7fac56a7de0fa961a853d154880 (diff) | |
download | dexon-solidity-fd046d7c9088498fbb0bded6a8ca69554155f483.tar.gz dexon-solidity-fd046d7c9088498fbb0bded6a8ca69554155f483.tar.zst dexon-solidity-fd046d7c9088498fbb0bded6a8ca69554155f483.zip |
Corrected spacing around colon.
Diffstat (limited to 'NameAndTypeResolver.cpp')
-rw-r--r-- | NameAndTypeResolver.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/NameAndTypeResolver.cpp b/NameAndTypeResolver.cpp index 84b12a23..707b6ce1 100644 --- a/NameAndTypeResolver.cpp +++ b/NameAndTypeResolver.cpp @@ -32,10 +32,6 @@ namespace solidity { -NameAndTypeResolver::NameAndTypeResolver() -{ -} - void NameAndTypeResolver::resolveNamesAndTypes(ContractDefinition& _contract) { reset(); @@ -72,8 +68,9 @@ Declaration* NameAndTypeResolver::getNameFromCurrentScope(ASTString const& _name } -DeclarationRegistrationHelper::DeclarationRegistrationHelper(std::map<ASTNode*, Scope>& _scopes, ASTNode& _astRoot) - : m_scopes(_scopes), m_currentScope(&m_scopes[nullptr]) +DeclarationRegistrationHelper::DeclarationRegistrationHelper(std::map<ASTNode*, Scope>& _scopes, + ASTNode& _astRoot): + m_scopes(_scopes), m_currentScope(&m_scopes[nullptr]) { _astRoot.accept(*this); } @@ -146,8 +143,8 @@ void DeclarationRegistrationHelper::registerDeclaration(Declaration& _declaratio } ReferencesResolver::ReferencesResolver(ASTNode& _root, NameAndTypeResolver& _resolver, - ParameterList* _returnParameters) - : m_resolver(_resolver), m_returnParameters(_returnParameters) + ParameterList* _returnParameters): + m_resolver(_resolver), m_returnParameters(_returnParameters) { _root.accept(*this); } |