diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-04 04:47:13 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-08-05 01:06:23 +0800 |
commit | 32acadf43d655413e65428475a35e7ef3bf8fb78 (patch) | |
tree | bafef82f60ee9630592e7e67540bd67b5da59d83 /libsolidity/analysis/NameAndTypeResolver.h | |
parent | dc0f85c4fb65fa385bb7145c73cc5edaba195483 (diff) | |
download | dexon-solidity-32acadf43d655413e65428475a35e7ef3bf8fb78.tar dexon-solidity-32acadf43d655413e65428475a35e7ef3bf8fb78.tar.gz dexon-solidity-32acadf43d655413e65428475a35e7ef3bf8fb78.tar.bz2 dexon-solidity-32acadf43d655413e65428475a35e7ef3bf8fb78.tar.lz dexon-solidity-32acadf43d655413e65428475a35e7ef3bf8fb78.tar.xz dexon-solidity-32acadf43d655413e65428475a35e7ef3bf8fb78.tar.zst dexon-solidity-32acadf43d655413e65428475a35e7ef3bf8fb78.zip |
Do not mark overloaded functions as shadowing
Diffstat (limited to 'libsolidity/analysis/NameAndTypeResolver.h')
-rw-r--r-- | libsolidity/analysis/NameAndTypeResolver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/analysis/NameAndTypeResolver.h b/libsolidity/analysis/NameAndTypeResolver.h index a498c7ba..59bd3b1f 100644 --- a/libsolidity/analysis/NameAndTypeResolver.h +++ b/libsolidity/analysis/NameAndTypeResolver.h @@ -169,6 +169,8 @@ private: void closeCurrentScope(); void registerDeclaration(Declaration& _declaration, bool _opensScope); + static bool isOverloadedFunction(Declaration const& _declaration1, Declaration const& _declaration2); + /// @returns the canonical name of the current scope. std::string currentCanonicalName() const; |