mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
committed by
chriseth
parent
5ad590cf0b
commit
9f8d49e358
@@ -36,6 +36,7 @@ namespace solidity::frontend
|
||||
* This module performs analyses on the AST that are done after type checking and assignments of types:
|
||||
* - whether there are circular references in constant state variables
|
||||
* - whether override specifiers are actually contracts
|
||||
* - whether a modifier is in a function header
|
||||
*
|
||||
* When adding a new checker, make sure a visitor that forwards calls that your
|
||||
* checker uses exists in PostTypeChecker. Add missing ones.
|
||||
@@ -69,6 +70,9 @@ private:
|
||||
|
||||
bool visit(Identifier const& _identifier) override;
|
||||
|
||||
bool visit(ModifierInvocation const& _modifierInvocation) override;
|
||||
void endVisit(ModifierInvocation const& _modifierInvocation) override;
|
||||
|
||||
template <class T>
|
||||
bool callVisit(T const& _node)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user