aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-08-29 01:48:34 +0800
committerchriseth <chris@ethereum.org>2017-09-06 19:50:49 +0800
commit5470da4d9adc8ef07aa1c2a758b7062be843cca4 (patch)
tree824e0012f236a9d959c0eb46e5a1fdb02ece43ec /libsolidity/ast
parent16526ad554256bde3e185c99c1651b0f47725165 (diff)
downloaddexon-solidity-5470da4d9adc8ef07aa1c2a758b7062be843cca4.tar.gz
dexon-solidity-5470da4d9adc8ef07aa1c2a758b7062be843cca4.tar.zst
dexon-solidity-5470da4d9adc8ef07aa1c2a758b7062be843cca4.zip
View-pure checker.
Diffstat (limited to 'libsolidity/ast')
-rw-r--r--libsolidity/ast/Types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/ast/Types.h b/libsolidity/ast/Types.h
index de6dcee9..d4d6da69 100644
--- a/libsolidity/ast/Types.h
+++ b/libsolidity/ast/Types.h
@@ -1064,6 +1064,7 @@ public:
{
return _inLibrary ? shared_from_this() : TypePointer();
}
+ virtual bool dataStoredIn(DataLocation _location) const override { return _location == DataLocation::Storage; }
TypePointer const& keyType() const { return m_keyType; }
TypePointer const& valueType() const { return m_valueType; }