Warn about side-effect free statements.

This commit is contained in:
chriseth
2017-04-21 11:36:38 +02:00
parent ed64c849f5
commit 9bc9fe6af7
5 changed files with 55 additions and 17 deletions
+2
View File
@@ -60,6 +60,8 @@ private:
virtual bool visit(FunctionDefinition const& _function) override;
virtual void endVisit(FunctionDefinition const& _function) override;
virtual bool visit(ExpressionStatement const& _statement) override;
virtual bool visit(MemberAccess const& _memberAccess) override;
ErrorList& m_errors;