mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fixup! Improved branch handling in data flow analyzer.
This commit is contained in:
parent
450cc715b4
commit
52ed9415a3
@ -154,6 +154,9 @@ protected:
|
|||||||
|
|
||||||
/// @returns true if the block is empty or the last statement has a
|
/// @returns true if the block is empty or the last statement has a
|
||||||
/// "flow out" control flow.
|
/// "flow out" control flow.
|
||||||
|
/// Note that this only considers the last statement. If there are
|
||||||
|
/// "leave", "break" or "continue" statements inside the block, this
|
||||||
|
/// has to be considered elsewhere.
|
||||||
bool hasFlowOutControlFlow(Block const& _block) const;
|
bool hasFlowOutControlFlow(Block const& _block) const;
|
||||||
|
|
||||||
Dialect const& m_dialect;
|
Dialect const& m_dialect;
|
||||||
|
Loading…
Reference in New Issue
Block a user