aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/TypeChecker.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/TypeChecker.h')
-rw-r--r--libsolidity/TypeChecker.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libsolidity/TypeChecker.h b/libsolidity/TypeChecker.h
index 3f740b7e..97262ed0 100644
--- a/libsolidity/TypeChecker.h
+++ b/libsolidity/TypeChecker.h
@@ -99,6 +99,11 @@ private:
virtual void endVisit(ElementaryTypeNameExpression const& _expr) override;
virtual void endVisit(Literal const& _literal) override;
+ bool contractDependenciesAreCyclic(
+ ContractDefinition const& _contract,
+ std::set<ContractDefinition const*> const& _seenContracts = std::set<ContractDefinition const*>()
+ ) const;
+
/// @returns the referenced declaration and throws on error.
Declaration const& dereference(Identifier const& _identifier);