diff options
author | Leonardo Alt <leo@ethereum.org> | 2018-09-04 18:14:04 +0800 |
---|---|---|
committer | Leonardo Alt <leo@ethereum.org> | 2018-09-04 18:14:04 +0800 |
commit | ac8892e0e3ab4e0152ba74c5857b79aec54e7f1b (patch) | |
tree | 7581e63ed4183d6132ea65ee759f2b08180852c4 /libsolidity/analysis/SyntaxChecker.h | |
parent | 17176871ab4903498be0f9d62997ca1a9ace04d8 (diff) | |
download | dexon-solidity-ac8892e0e3ab4e0152ba74c5857b79aec54e7f1b.tar.gz dexon-solidity-ac8892e0e3ab4e0152ba74c5857b79aec54e7f1b.tar.zst dexon-solidity-ac8892e0e3ab4e0152ba74c5857b79aec54e7f1b.zip |
Review suggestions
Diffstat (limited to 'libsolidity/analysis/SyntaxChecker.h')
-rw-r--r-- | libsolidity/analysis/SyntaxChecker.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libsolidity/analysis/SyntaxChecker.h b/libsolidity/analysis/SyntaxChecker.h index 27d98401..f5716bf9 100644 --- a/libsolidity/analysis/SyntaxChecker.h +++ b/libsolidity/analysis/SyntaxChecker.h @@ -52,10 +52,10 @@ private: virtual bool visit(ModifierDefinition const& _modifier) override; virtual void endVisit(ModifierDefinition const& _modifier) override; - // Reports an error if _statement is a VariableDeclarationStatement. - // Used by if/while/for to check for single statement variable declarations - // without a block. - void checkSingleStatementVariableDeclaration(ASTNode const* _statement); + /// Reports an error if _statement is a VariableDeclarationStatement. + /// Used by if/while/for to check for single statement variable declarations + /// without a block. + void checkSingleStatementVariableDeclaration(ASTNode const& _statement); virtual bool visit(IfStatement const& _ifStatement) override; virtual bool visit(WhileStatement const& _whileStatement) override; |