diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2016-09-07 19:54:57 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2016-09-07 20:29:01 +0800 |
commit | c9b23d9829b745ece900efa05df30bc6aa3776e3 (patch) | |
tree | 2b281a967297a721ec23bea5f033e15daaa4d397 | |
parent | 940c5a861291a97e53e92e79450c8fbb9a38b6f2 (diff) | |
download | dexon-solidity-c9b23d9829b745ece900efa05df30bc6aa3776e3.tar dexon-solidity-c9b23d9829b745ece900efa05df30bc6aa3776e3.tar.gz dexon-solidity-c9b23d9829b745ece900efa05df30bc6aa3776e3.tar.bz2 dexon-solidity-c9b23d9829b745ece900efa05df30bc6aa3776e3.tar.lz dexon-solidity-c9b23d9829b745ece900efa05df30bc6aa3776e3.tar.xz dexon-solidity-c9b23d9829b745ece900efa05df30bc6aa3776e3.tar.zst dexon-solidity-c9b23d9829b745ece900efa05df30bc6aa3776e3.zip |
Fix a typo and whitespaces
-rw-r--r-- | libdevcore/Common.h | 2 | ||||
-rw-r--r-- | libdevcore/vector_ref.h | 2 | ||||
-rw-r--r-- | libsolidity/formal/Why3Translator.cpp | 2 | ||||
-rw-r--r-- | libsolidity/formal/Why3Translator.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/libdevcore/Common.h b/libdevcore/Common.h index 8bc5f58f..6fbc112d 100644 --- a/libdevcore/Common.h +++ b/libdevcore/Common.h @@ -23,7 +23,7 @@ #pragma once -// way to many unsigned to size_t warnings in 32 bit build +// way too many unsigned to size_t warnings in 32 bit build #ifdef _M_IX86 #pragma warning(disable:4244) #endif diff --git a/libdevcore/vector_ref.h b/libdevcore/vector_ref.h index 46d06946..698377c9 100644 --- a/libdevcore/vector_ref.h +++ b/libdevcore/vector_ref.h @@ -7,7 +7,7 @@ #include <string> #ifdef __INTEL_COMPILER -#pragma warning(disable:597) //will not be called for implicit or explicit conversions +#pragma warning(disable:597) // will not be called for implicit or explicit conversions #endif namespace dev diff --git a/libsolidity/formal/Why3Translator.cpp b/libsolidity/formal/Why3Translator.cpp index e16c41ab..834024fa 100644 --- a/libsolidity/formal/Why3Translator.cpp +++ b/libsolidity/formal/Why3Translator.cpp @@ -683,7 +683,7 @@ bool Why3Translator::visit(Literal const& _literal) else add("(of_int " + toString(type->literalValue(&_literal)) + ")"); break; - } + } default: error(_literal, "Not supported."); } diff --git a/libsolidity/formal/Why3Translator.h b/libsolidity/formal/Why3Translator.h index e5b16844..236e4414 100644 --- a/libsolidity/formal/Why3Translator.h +++ b/libsolidity/formal/Why3Translator.h @@ -108,7 +108,7 @@ private: /// @returns a string representing an expression that is a copy of this.storage std::string copyOfStorage() const; - /// Visits the givin statement and indents it unless it is a block + /// Visits the given statement and indents it unless it is a block /// (which does its own indentation). void visitIndentedUnlessBlock(Statement const& _statement); |