mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Generalize cycle detection.
This commit is contained in:
committed by
Alex Beregszaszi
parent
5bdadff0d8
commit
eb5b18e814
@@ -55,10 +55,7 @@ private:
|
||||
|
||||
virtual bool visit(Identifier const& _identifier) override;
|
||||
|
||||
VariableDeclaration const* findCycle(
|
||||
VariableDeclaration const* _startingFrom,
|
||||
std::set<VariableDeclaration const*> const& _seen = std::set<VariableDeclaration const*>{}
|
||||
);
|
||||
VariableDeclaration const* findCycle(VariableDeclaration const& _startingFrom);
|
||||
|
||||
ErrorReporter& m_errorReporter;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user