Commit Graph

16524 Commits

Author SHA1 Message Date
chriseth
bdcfd71f34 Skip verification for external access. 2020-04-02 18:40:43 +02:00
chriseth
216fca5b70
Merge pull request #8578 from ethereum/interface-function-modifier-error
Added error for interface functions that have modifiers; test case
2020-04-02 18:05:32 +02:00
chriseth
0d3303e4af
Changelog entry for immutable variables. 2020-04-02 17:46:29 +02:00
hrkrshnn
ef2bef9ddc Added error for interface function with modifiers; test case 2020-04-02 20:30:43 +05:30
chriseth
ed1000dde7
Merge pull request #8462 from ethereum/allocate_memory_zero_function
[Yul codegen] Zero initialize memory arrays
2020-04-02 16:18:59 +02:00
Leonardo Alt
39ff0deb05 Zero initialize memory arrays 2020-04-02 15:55:18 +02:00
Alexander Arlt
a7e1ef6a50 [build-system] Add -Wpessimizing-move & -Wredundant-move warnings.
-Wpessimizing-move warns when a call to std::move would prevent copy elision
if the argument was not wrapped in a call.  This happens when moving a local
variable in a return statement when the variable is the same type as the
return type or using a move to create a new object from a temporary object.

-Wredundant-move warns when an implicit move would already be made, so the
std::move call is not needed, such as when moving a local variable in a return
that is different from the return type.
2020-04-02 08:36:47 -05:00
chriseth
8d28089abc
Merge pull request #8475 from ethereum/immutable-functioncallgraph
implement ImmutableValidator class
2020-04-02 14:14:53 +02:00
chriseth
4f635cab91
Merge pull request #8576 from ethereum/add-changelog-storage-pointer
Added changelog
2020-04-02 14:14:11 +02:00
hrkrshnn
cb66274827 Added changelog 2020-04-02 17:41:44 +05:30
Mathias Baumann
ac7b31e559 Validate immutable variables 2020-04-02 13:52:27 +02:00
Mathias Baumann
9a8ca6ca33 Always return this for EventDefinition::resolveVirtual
Instead of asserting.
2020-04-02 13:52:27 +02:00
chriseth
a2b427dc0b
Merge pull request #8567 from ethereum/storage-pointer-checker
Removed redundant storage declaration check; test coverages
2020-04-02 13:46:51 +02:00
hrkrshnn
8e6567e399 New folder localStorageVariable for new testcases; added two new tests 2020-04-02 16:34:45 +05:30
hrkrshnn
aec0ae8ec1 Extended test-coverage for storage declaration 2020-04-02 15:45:04 +05:30
chriseth
3224785381
Merge pull request #8569 from aarlt/clang-tidy-apply-modernize-use-nullptr
clang-tidy: Apply modernize-use-nullptr.
2020-04-02 10:38:54 +02:00
chriseth
c8f0629e94
Merge pull request #8574 from ethereum/immutableAssignAtDecl
Properly handle assignments of immutables at declaration.
2020-04-02 10:38:16 +02:00
hrkrshnn
79387b2ada Removed redundant declaration check; changed relevant test cases 2020-04-02 12:27:38 +05:30
Daniel Kirchner
77ea896b68 Properly handle assignments of immutables at declaration. 2020-04-02 08:35:22 +02:00
Alexander Arlt
616fd8df1e Apply modernize-use-nullptr. 2020-04-01 12:46:19 -05:00
chriseth
82f57f0465
Merge pull request #8565 from ethereum/memoryCreationOverflowBug
Memory creation overflow bug.
2020-04-01 19:04:14 +02:00
chriseth
fbda975fe4
Merge pull request #8566 from mijovic/testDocsPragma
[docs] Renaming CI job for documentation pragma version check
2020-04-01 19:01:33 +02:00
Daniel Kirchner
06d184712c Add buglist entry. 2020-04-01 19:01:32 +02:00
Djordje Mijovic
d343143be7 [docs] Renaming CI job for documentation pragma version check 2020-04-01 18:34:20 +02:00
Daniel Kirchner
fe9f8d520c Restrict size for dynamic memory array creation. 2020-04-01 17:25:09 +02:00
chriseth
fb7f51ffca
Merge pull request #8563 from ethereum/fixInternalDispatch
Fix call to internalDispatch.
2020-04-01 12:35:43 +02:00
chriseth
2853cba3e5 Fix call to internalDispatch. 2020-04-01 12:13:32 +02:00
chriseth
7ce867ac60
Merge pull request #8510 from ethereum/immutableDocs
Documentation and grammar for immutables.
2020-04-01 11:49:07 +02:00
chriseth
9c4a02db0f Documentation for immutables. 2020-04-01 11:37:11 +02:00
chriseth
c11d5b8d1b
Merge pull request #8553 from aarlt/inline_asm_function_access
Disallow function access in inline assembly
2020-04-01 11:05:30 +02:00
Alexander Arlt
3e649eb8e1 Disallow access to functions from inline assembly. 2020-04-01 10:34:55 +02:00
chriseth
3f26f7fb7e
Merge pull request #8548 from mijovic/testDocsPragma
Enabling pragma with > in minimum version check
2020-04-01 00:31:15 +02:00
Djordje Mijovic
64ae889dd7 Enabling pragma with > in minimum version check 2020-03-31 23:50:24 +02:00
chriseth
b83d82ab75
Merge pull request #8550 from a3d4/fix-8450-typechecker-compiler-error
Fix  a couple of internal compiler errors when assigning nested tuples
2020-03-31 22:21:58 +02:00
a3d4
c002cae691 Fix #8450. Prevented internal compiler errors when assigning nested tuples. 2020-03-31 03:25:26 +02:00
chriseth
e0c2b4bb9c
Merge pull request #8534 from mijovic/sol2YulConstructorParams
[Sol2Yul] Adding support for constructor with parameters
2020-03-30 20:41:00 +02:00
chriseth
ff35bf69de
Merge pull request #8539 from random-internet-cat/population-op-plus
Convert operator+(Population, Population) into a hidden friend
2020-03-30 16:22:57 +02:00
chriseth
469316f823
Merge pull request #8549 from ethereum/remove-grammar-txt
Removing grammar.txt in favor of Solidity.g4 (ANTLR based grammar)
2020-03-30 15:37:38 +02:00
Christian Parpart
9cc967eb3a Removing grammar.txt in favor of Solidity.g4 (ANTLR based grammar) 2020-03-30 11:35:34 +02:00
Djordje Mijovic
89d5ecdd24 [Sol2Yul] Adding support for constructor with parameters 2020-03-27 01:19:11 +01:00
Jason Cobb
c184844932
Remove forward declaration of class Population 2020-03-26 18:57:43 -04:00
chriseth
4a7d2e590d
Merge pull request #8529 from MrChico/develop
CommandLineInterface: add storage-layout option to --combined-json
2020-03-26 19:15:23 +01:00
chriseth
514eef92be
Merge pull request #8533 from ethereum/refactorVirtualResolution
Refactor virtual resolution
2020-03-26 18:28:03 +01:00
chriseth
173f234860 Refactor: Replace inheritance hierarchy by most derived contract. 2020-03-26 18:27:39 +01:00
chriseth
95407cbaae
Merge pull request #8518 from aarlt/extract-more-testcases
[test] Extract 45 more tests from SolidityEndToEndTest.cpp
2020-03-26 18:14:58 +01:00
chriseth
165f7bf60f Move files. 2020-03-26 17:47:36 +01:00
Alexander Arlt
67e9776418 Extract 45 tests from SolidityEndToEndTest.cpp 2020-03-26 17:39:12 +01:00
Leonardo
a74a2df513
Merge pull request #8531 from ethereum/smt_sort_provider
[SMTChecker] Add SortProvider
2020-03-26 16:50:07 +01:00
Leonardo
3c6ae6a5f0
Merge pull request #8530 from MrChico/oldosxbuild
Oldosxbuild
2020-03-26 15:28:03 +01:00
chriseth
994591b842
Merge pull request #8390 from ethereum/fix-8389
SECURITY.md: security policy for Solidity
2020-03-26 15:24:56 +01:00