aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/AST.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-17 00:03:06 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-17 00:23:09 +0800
commit7700f4033ec9f1f14fc798ab4f030d850c6b9db3 (patch)
tree86e2927878c179ec9e218020c4936cb6e0073912 /libsolidity/ast/AST.h
parent33ea314a24a17e9d3906c7a4fef0298ea674eb0f (diff)
downloaddexon-solidity-7700f4033ec9f1f14fc798ab4f030d850c6b9db3.tar
dexon-solidity-7700f4033ec9f1f14fc798ab4f030d850c6b9db3.tar.gz
dexon-solidity-7700f4033ec9f1f14fc798ab4f030d850c6b9db3.tar.bz2
dexon-solidity-7700f4033ec9f1f14fc798ab4f030d850c6b9db3.tar.lz
dexon-solidity-7700f4033ec9f1f14fc798ab4f030d850c6b9db3.tar.xz
dexon-solidity-7700f4033ec9f1f14fc798ab4f030d850c6b9db3.tar.zst
dexon-solidity-7700f4033ec9f1f14fc798ab4f030d850c6b9db3.zip
Remove isDeclaredConst() from functions
Diffstat (limited to 'libsolidity/ast/AST.h')
-rw-r--r--libsolidity/ast/AST.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libsolidity/ast/AST.h b/libsolidity/ast/AST.h
index 8a577c0c..53a34d32 100644
--- a/libsolidity/ast/AST.h
+++ b/libsolidity/ast/AST.h
@@ -608,7 +608,6 @@ public:
StateMutability stateMutability() const { return m_stateMutability; }
bool isConstructor() const { return m_isConstructor; }
bool isFallback() const { return name().empty(); }
- bool isDeclaredConst() const { return m_stateMutability == StateMutability::View; }
bool isPayable() const { return m_stateMutability == StateMutability::Payable; }
std::vector<ASTPointer<ModifierInvocation>> const& modifiers() const { return m_functionModifiers; }
std::vector<ASTPointer<VariableDeclaration>> const& returnParameters() const { return m_returnParameters->parameters(); }
@@ -913,7 +912,6 @@ public:
return m_visibility == Declaration::Visibility::Default ? Declaration::Visibility::Internal : m_visibility;
}
StateMutability stateMutability() const { return m_stateMutability; }
- bool isDeclaredConst() const { return m_stateMutability == StateMutability::View; }
bool isPayable() const { return m_stateMutability == StateMutability::Payable; }
private: