aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis/ContractLevelChecker.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-11-30 01:36:26 +0800
committerchriseth <chris@ethereum.org>2018-11-30 23:30:20 +0800
commit33d6a24c47f4cfd95e8bb880d5254fb7dd6ea21a (patch)
tree310438d5e1cc0aceb60ed07c9a9a9428787dff45 /libsolidity/analysis/ContractLevelChecker.h
parent4f992298c6381b3c7ea41462bce749850b5846e5 (diff)
downloaddexon-solidity-33d6a24c47f4cfd95e8bb880d5254fb7dd6ea21a.tar.gz
dexon-solidity-33d6a24c47f4cfd95e8bb880d5254fb7dd6ea21a.tar.zst
dexon-solidity-33d6a24c47f4cfd95e8bb880d5254fb7dd6ea21a.zip
Move library related checks.
Diffstat (limited to 'libsolidity/analysis/ContractLevelChecker.h')
-rw-r--r--libsolidity/analysis/ContractLevelChecker.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/analysis/ContractLevelChecker.h b/libsolidity/analysis/ContractLevelChecker.h
index f930fb60..15cbf45d 100644
--- a/libsolidity/analysis/ContractLevelChecker.h
+++ b/libsolidity/analysis/ContractLevelChecker.h
@@ -77,6 +77,8 @@ private:
void checkExternalTypeClashes(ContractDefinition const& _contract);
/// Checks for hash collisions in external function signatures.
void checkHashCollisions(ContractDefinition const& _contract);
+ /// Checks that all requirements for a library are fulfilled if this is a library.
+ void checkLibraryRequirements(ContractDefinition const& _contract);
langutil::ErrorReporter& m_errorReporter;
};