aboutsummaryrefslogtreecommitdiffstats
path: root/libyul/optimiser/NameCollector.h
diff options
context:
space:
mode:
authormordax <maya@mordax.io>2018-11-16 09:09:04 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-11-21 22:37:32 +0800
commitea8b7d803ebd151401be7479f48afb0ad19f5f74 (patch)
treebe363297661531057296c468c15c5003510540d5 /libyul/optimiser/NameCollector.h
parentd3f66ca0fab130e801b012bd192e1e8e97fb3761 (diff)
downloaddexon-solidity-ea8b7d803ebd151401be7479f48afb0ad19f5f74.tar
dexon-solidity-ea8b7d803ebd151401be7479f48afb0ad19f5f74.tar.gz
dexon-solidity-ea8b7d803ebd151401be7479f48afb0ad19f5f74.tar.bz2
dexon-solidity-ea8b7d803ebd151401be7479f48afb0ad19f5f74.tar.lz
dexon-solidity-ea8b7d803ebd151401be7479f48afb0ad19f5f74.tar.xz
dexon-solidity-ea8b7d803ebd151401be7479f48afb0ad19f5f74.tar.zst
dexon-solidity-ea8b7d803ebd151401be7479f48afb0ad19f5f74.zip
Removing redundant virtual from override function declaration
Remove trailing whitespace Remove changelog change
Diffstat (limited to 'libyul/optimiser/NameCollector.h')
-rw-r--r--libyul/optimiser/NameCollector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libyul/optimiser/NameCollector.h b/libyul/optimiser/NameCollector.h
index b76eec30..8ef0178d 100644
--- a/libyul/optimiser/NameCollector.h
+++ b/libyul/optimiser/NameCollector.h
@@ -42,8 +42,8 @@ public:
}
using ASTWalker::operator ();
- virtual void operator()(VariableDeclaration const& _varDecl) override;
- virtual void operator()(FunctionDefinition const& _funDef) override;
+ void operator()(VariableDeclaration const& _varDecl) override;
+ void operator()(FunctionDefinition const& _funDef) override;
std::set<YulString> names() const { return m_names; }
private:
@@ -75,7 +75,7 @@ class Assignments: public ASTWalker
{
public:
using ASTWalker::operator ();
- virtual void operator()(Assignment const& _assignment) override;
+ void operator()(Assignment const& _assignment) override;
std::set<YulString> const& names() const { return m_names; }
private: