aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKwang Yul Seo <kseo@kodebox.io>2017-11-15 23:28:41 +0800
committerKwang Yul Seo <kseo@kodebox.io>2017-11-15 23:28:41 +0800
commit33664c04a8701ebb283f9a5826c2caacb6565fb0 (patch)
tree976199cbd77c4ef7d64f16bb4ea4d29ab151f349
parentbc39e730b6acaff7bb2bdb3ad99547ab6cdc1841 (diff)
downloaddexon-solidity-33664c04a8701ebb283f9a5826c2caacb6565fb0.tar
dexon-solidity-33664c04a8701ebb283f9a5826c2caacb6565fb0.tar.gz
dexon-solidity-33664c04a8701ebb283f9a5826c2caacb6565fb0.tar.bz2
dexon-solidity-33664c04a8701ebb283f9a5826c2caacb6565fb0.tar.lz
dexon-solidity-33664c04a8701ebb283f9a5826c2caacb6565fb0.tar.xz
dexon-solidity-33664c04a8701ebb283f9a5826c2caacb6565fb0.tar.zst
dexon-solidity-33664c04a8701ebb283f9a5826c2caacb6565fb0.zip
Update outdated comments
_errors -> _errorReporter.
-rw-r--r--libsolidity/analysis/PostTypeChecker.h2
-rw-r--r--libsolidity/analysis/StaticAnalyzer.h2
-rw-r--r--libsolidity/analysis/SyntaxChecker.h2
-rw-r--r--libsolidity/analysis/TypeChecker.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/libsolidity/analysis/PostTypeChecker.h b/libsolidity/analysis/PostTypeChecker.h
index 91d2b0b9..bafc1ae6 100644
--- a/libsolidity/analysis/PostTypeChecker.h
+++ b/libsolidity/analysis/PostTypeChecker.h
@@ -38,7 +38,7 @@ class ErrorReporter;
class PostTypeChecker: private ASTConstVisitor
{
public:
- /// @param _errors the reference to the list of errors and warnings to add them found during type checking.
+ /// @param _errorReporter provides the error logging functionality.
PostTypeChecker(ErrorReporter& _errorReporter): m_errorReporter(_errorReporter) {}
bool check(ASTNode const& _astRoot);
diff --git a/libsolidity/analysis/StaticAnalyzer.h b/libsolidity/analysis/StaticAnalyzer.h
index 24ed119f..124c4e7c 100644
--- a/libsolidity/analysis/StaticAnalyzer.h
+++ b/libsolidity/analysis/StaticAnalyzer.h
@@ -43,7 +43,7 @@ namespace solidity
class StaticAnalyzer: private ASTConstVisitor
{
public:
- /// @param _errors the reference to the list of errors and warnings to add them found during static analysis.
+ /// @param _errorReporter provides the error logging functionality.
explicit StaticAnalyzer(ErrorReporter& _errorReporter): m_errorReporter(_errorReporter) {}
/// Performs static analysis on the given source unit and all of its sub-nodes.
diff --git a/libsolidity/analysis/SyntaxChecker.h b/libsolidity/analysis/SyntaxChecker.h
index 7fffbec0..d5d72f14 100644
--- a/libsolidity/analysis/SyntaxChecker.h
+++ b/libsolidity/analysis/SyntaxChecker.h
@@ -38,7 +38,7 @@ namespace solidity
class SyntaxChecker: private ASTConstVisitor
{
public:
- /// @param _errors the reference to the list of errors and warnings to add them found during type checking.
+ /// @param _errorReporter provides the error logging functionality.
SyntaxChecker(ErrorReporter& _errorReporter): m_errorReporter(_errorReporter) {}
bool checkSyntax(ASTNode const& _astRoot);
diff --git a/libsolidity/analysis/TypeChecker.h b/libsolidity/analysis/TypeChecker.h
index abe6dac1..344b019d 100644
--- a/libsolidity/analysis/TypeChecker.h
+++ b/libsolidity/analysis/TypeChecker.h
@@ -42,7 +42,7 @@ class ErrorReporter;
class TypeChecker: private ASTConstVisitor
{
public:
- /// @param _errors the reference to the list of errors and warnings to add them found during type checking.
+ /// @param _errorReporter provides the error logging functionality.
TypeChecker(ErrorReporter& _errorReporter): m_errorReporter(_errorReporter) {}
/// Performs type checking on the given contract and all of its sub-nodes.