Ensure that public callable parameters are valid for calldata.

This commit is contained in:
Daniel Kirchner
2020-04-16 17:23:20 +02:00
parent 6093982606
commit f6d1cee06b
5 changed files with 19 additions and 1 deletions
+2
View File
@@ -914,6 +914,8 @@ public:
/// @returns true if this variable is a parameter (not return parameter) of an external function.
/// This excludes parameters of external function type names.
bool isExternalCallableParameter() const;
/// @returns true if this variable is a parameter (not return parameter) of a public function.
bool isPublicCallableParameter() const;
/// @returns true if this variable is a parameter or return parameter of an internal function
/// or a function type of internal visibility.
bool isInternalCallableParameter() const;