mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Descend into for loops when determining call graph.
This commit is contained in:
parent
01f1aaa4c7
commit
7b84e141dc
@ -50,9 +50,10 @@ void CallGraphGenerator::operator()(FunctionCall const& _functionCall)
|
||||
ASTWalker::operator()(_functionCall);
|
||||
}
|
||||
|
||||
void CallGraphGenerator::operator()(ForLoop const&)
|
||||
void CallGraphGenerator::operator()(ForLoop const& _forLoop)
|
||||
{
|
||||
m_callGraph.functionsWithLoops.insert(m_currentFunction);
|
||||
ASTWalker::operator()(_forLoop);
|
||||
}
|
||||
|
||||
void CallGraphGenerator::operator()(FunctionDefinition const& _functionDefinition)
|
||||
|
Loading…
Reference in New Issue
Block a user