Merge pull request #7509 from ethereum/fixTrailingSpaces

Fix trailing spaces
This commit is contained in:
chriseth 2019-10-04 17:57:56 +02:00 committed by GitHub
commit 6cbcc3796c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
63 changed files with 6849 additions and 6812 deletions

View File

@ -24,6 +24,7 @@
#include <libsolidity/ast/AST.h>
#include <libyul/AsmData.h>
#include <libyul/AsmPrinter.h>
#include <libdevcore/JSON.h>
#include <libdevcore/UTF8.h>
#include <boost/algorithm/string/join.hpp>
@ -189,7 +190,7 @@ Json::Value ASTJsonConverter::inlineAssemblyIdentifierToJson(pair<yul::Identifie
void ASTJsonConverter::print(ostream& _stream, ASTNode const& _node)
{
_stream << toJson(_node);
_stream << jsonPrettyPrint(toJson(_node));
}
Json::Value&& ASTJsonConverter::toJson(ASTNode const& _node)

View File

@ -1 +1,3 @@
contract C { uint[] i; }
// ----

View File

@ -2,3 +2,5 @@ contract C {
constructor() public {
}
}
// ----

View File

@ -15,3 +15,5 @@ contract C {
/** Some comment on mod.*/ modifier mod() { _; }
/** Some comment on fn.*/ function fn() public {}
}
// ----

View File

@ -1 +1,3 @@
contract C { enum E { A, B } }
// ----

View File

@ -1 +1,3 @@
contract C { event E(); }
// ----

View File

@ -2,3 +2,5 @@ contract C {
function() external payable {
}
}
// ----

View File

@ -1,3 +1,5 @@
contract C {
function() external {}
}
// ----

View File

@ -1 +1,3 @@
contract c { function f() public { uint a = 2 + 3; } }
// ----

View File

@ -1 +1,3 @@
contract c { uint[] a; function f() public { uint[] storage b = a; } }
// ----

View File

@ -1 +1,3 @@
contract C { modifier M(uint i) { _; } function F() M(1) public {} }
// ----

View File

@ -1 +1,3 @@
contract C { modifier M(uint i) { _; } function F() M(1) public {} }
// ----

View File

@ -1 +1,3 @@
contract C { function f() public { var x = hex"ff"; } }
// ----

View File

@ -1 +1,3 @@
contract C { modifier M { _; } }
// ----

View File

@ -1 +1,3 @@
contract c { function f() public { uint[] memory x; } }
// ----

View File

@ -1 +1,3 @@
contract c { function f() public { uint[][] memory rows; } }
// ----

View File

@ -1 +1,3 @@
contract C {}
// ----

View File

@ -1 +1,3 @@
contract C { function f() { var x = 2; x++; } }
// ----

View File

@ -1 +1,3 @@
library L {} contract C { using L for uint; }
// ----