aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis/StaticAnalyzer.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-05-02 23:14:42 +0800
committerchriseth <chris@ethereum.org>2017-05-03 17:26:21 +0800
commit230f51efb7da7cc4f8e03027b958aee8f3346914 (patch)
tree32455f9f32e34a6fb936949e0c879eb736735638 /libsolidity/analysis/StaticAnalyzer.h
parente3ed3623c78befec9bd88261e6cbf534197d64a1 (diff)
downloaddexon-solidity-230f51efb7da7cc4f8e03027b958aee8f3346914.tar.gz
dexon-solidity-230f51efb7da7cc4f8e03027b958aee8f3346914.tar.zst
dexon-solidity-230f51efb7da7cc4f8e03027b958aee8f3346914.zip
Cleanup, style and additional test.
Diffstat (limited to 'libsolidity/analysis/StaticAnalyzer.h')
-rw-r--r--libsolidity/analysis/StaticAnalyzer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/analysis/StaticAnalyzer.h b/libsolidity/analysis/StaticAnalyzer.h
index cf2e2175..ab72e7d9 100644
--- a/libsolidity/analysis/StaticAnalyzer.h
+++ b/libsolidity/analysis/StaticAnalyzer.h
@@ -74,6 +74,7 @@ private:
/// Flag that indicates whether a public function does not contain the "payable" modifier.
bool m_nonPayablePublic = false;
+ /// Number of uses of each (named) local variable in a function, counter is initialized with zero.
std::map<VariableDeclaration const*, int> m_localVarUseCount;
FunctionDefinition const* m_currentFunction = nullptr;