aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/formal/VariableUsage.h
diff options
context:
space:
mode:
authorLeonardo Alt <leo@ethereum.org>2018-06-12 16:58:24 +0800
committerLeonardo Alt <leo@ethereum.org>2018-06-12 16:58:50 +0800
commit207d5859d1edc7ed5c41fbdf62fd7fb929531103 (patch)
treeec660df51776a548e5e8c954faa851127bce9610 /libsolidity/formal/VariableUsage.h
parent48652c88af44436d6a9d881918bfa93576516adb (diff)
downloaddexon-solidity-207d5859d1edc7ed5c41fbdf62fd7fb929531103.tar
dexon-solidity-207d5859d1edc7ed5c41fbdf62fd7fb929531103.tar.gz
dexon-solidity-207d5859d1edc7ed5c41fbdf62fd7fb929531103.tar.bz2
dexon-solidity-207d5859d1edc7ed5c41fbdf62fd7fb929531103.tar.lz
dexon-solidity-207d5859d1edc7ed5c41fbdf62fd7fb929531103.tar.xz
dexon-solidity-207d5859d1edc7ed5c41fbdf62fd7fb929531103.tar.zst
dexon-solidity-207d5859d1edc7ed5c41fbdf62fd7fb929531103.zip
Refactoring Declaration -> VariableDeclaration (more precise)
Diffstat (limited to 'libsolidity/formal/VariableUsage.h')
-rw-r--r--libsolidity/formal/VariableUsage.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/formal/VariableUsage.h b/libsolidity/formal/VariableUsage.h
index 62561cce..dda13de2 100644
--- a/libsolidity/formal/VariableUsage.h
+++ b/libsolidity/formal/VariableUsage.h
@@ -27,7 +27,7 @@ namespace solidity
{
class ASTNode;
-class Declaration;
+class VariableDeclaration;
/**
* This class collects information about which local variables of value type
@@ -38,11 +38,11 @@ class VariableUsage
public:
explicit VariableUsage(ASTNode const& _node);
- std::vector<Declaration const*> touchedVariables(ASTNode const& _node) const;
+ std::vector<VariableDeclaration const*> touchedVariables(ASTNode const& _node) const;
private:
// Variable touched by a specific AST node.
- std::map<ASTNode const*, Declaration const*> m_touchedVariable;
+ std::map<ASTNode const*, VariableDeclaration const*> m_touchedVariable;
std::map<ASTNode const*, std::vector<ASTNode const*>> m_children;
};