mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Support variable references within modifiers for inline assembly
This commit is contained in:
parent
5875890576
commit
7b0fb5d06b
@ -623,7 +623,7 @@ public:
|
||||
virtual bool isLValue() const override;
|
||||
virtual bool isPartOfExternalInterface() const override { return isPublic(); }
|
||||
|
||||
bool isLocalVariable() const { return !!dynamic_cast<FunctionDefinition const*>(scope()); }
|
||||
bool isLocalVariable() const { return !!dynamic_cast<CallableDeclaration const*>(scope()); }
|
||||
/// @returns true if this variable is a parameter or return parameter of a function.
|
||||
bool isCallableParameter() const;
|
||||
/// @returns true if this variable is a parameter (not return parameter) of an external function.
|
||||
|
Loading…
Reference in New Issue
Block a user