Christian Parpart
|
a2a3b007f3
|
TypeProvider: storageType() to make all parameters explicit
|
2019-04-16 18:26:46 +02:00 |
|
Christian Parpart
|
bf43eebea9
|
libsolidity: Introducing TypeProvider API, for clear type system ownership.
|
2019-04-16 18:26:45 +02:00 |
|
chriseth
|
1a823f0bf8
|
Fix tabs/spaces.
|
2019-02-13 17:05:48 +01:00 |
|
chriseth
|
a9fa2658d8
|
Add helper to show if contract can be deployed.
|
2019-01-17 20:36:48 +01:00 |
|
Leonardo Alt
|
b185d01a26
|
Sort includes in libsolidity/ast
|
2018-12-17 15:33:15 +01:00 |
|
Mathias Baumann
|
2f6dc2e773
|
Replace push_back with emplace_back where it makes sense
|
2018-12-10 19:02:39 +01:00 |
|
chriseth
|
e78b95d9d4
|
Renamed SHA3.{h,cpp} files.
|
2018-10-18 14:31:36 +02:00 |
|
Christian Parpart
|
9fb835b710
|
Fixes #5051 (introduced in #4684), effectively allowing underscores in address literals.
|
2018-10-02 15:37:15 +02:00 |
|
Anurag Dashputre
|
3321000f67
|
Removing extra default cases to force compile time error, instead of runtime.
|
2018-09-30 12:40:38 +05:30 |
|
Chase McDermott
|
551e0bf47c
|
Rename Location::Default to Location::Unspecified.
|
2018-08-17 18:15:22 -05:00 |
|
liangdzou
|
74c37935f0
|
fix a typo: declaratoion => declaration
|
2018-08-16 13:42:46 +08:00 |
|
Chase McDermott
|
683bce1869
|
Refactor data location check.
|
2018-08-14 18:07:15 +02:00 |
|
Christian Parpart
|
4c90ddf64a
|
libsolidity: Remove dead code wrt. VariableDeclaration::canHaveAutoType()
Closes #4667
|
2018-08-07 11:34:13 +02:00 |
|
Alex Beregszaszi
|
bd75d4268b
|
Move fullyQualifiedName to ContractDefinition only
|
2018-08-06 18:58:27 +02:00 |
|
Daniel Kirchner
|
fc370591f0
|
Disallow multi variable declarations with mismatching number of values.
|
2018-07-12 20:33:51 +02:00 |
|
mingchuan
|
3cd57866a9
|
Fix assert message about function visibility
|
2018-05-20 22:29:11 +08:00 |
|
chriseth
|
17fc0f54b5
|
Use FunctionTypePointer (adds `const `).
|
2018-04-12 13:09:37 +02:00 |
|
Alex Beregszaszi
|
8bae2dba7c
|
Introduce inContractKind helper on FunctionDefinition
|
2018-03-26 11:37:38 +01:00 |
|
chriseth
|
6b9dda06f3
|
Enable C99-scoping with the 0.5.0-experimental pragma.
|
2018-02-27 12:17:25 +01:00 |
|
chriseth
|
e6d48bb72a
|
Blocks and for loops can be scopes.
|
2018-02-27 12:17:25 +01:00 |
|
chriseth
|
5f20129e65
|
Scopes do not have to be declarations.
|
2018-02-27 12:17:25 +01:00 |
|
Alex Beregszaszi
|
8d26894841
|
Show checksummed address always (prepend with 0)
|
2017-11-17 00:46:45 +00:00 |
|
Alex Beregszaszi
|
1d5dd909b4
|
Do not try to display checksummed address for too-short/long address literals
|
2017-11-17 00:46:45 +00:00 |
|
wadeAlexC
|
8a6692b2cf
|
Improves address literal checksum error message
|
2017-11-17 00:46:44 +00:00 |
|
Alex Beregszaszi
|
475b818801
|
Remove obsolete createTypeError in AST
|
2017-10-05 20:18:46 +01:00 |
|
Alex Beregszaszi
|
0e11e5af10
|
Include all overloaded events in ABI
|
2017-08-28 20:07:43 +01:00 |
|
Alex Beregszaszi
|
8e5f9c5981
|
Removed unused natspec members of ContractDefinition
|
2017-08-25 20:29:43 +01:00 |
|
chriseth
|
1ece7bf443
|
z3 conditions
|
2017-08-23 14:24:04 +02:00 |
|
Alex Beregszaszi
|
f2d6226718
|
Some smaller issues found by Covertiy Scan
|
2017-08-22 13:55:28 +01:00 |
|
Federico Bond
|
ff5bb54e3c
|
Use fully qualified name of super in message
|
2017-08-11 22:45:25 +01:00 |
|
Alex Beregszaszi
|
9fc6eccc26
|
Add isFallback() helper
|
2017-07-27 21:52:57 +01:00 |
|
Alex Beregszaszi
|
f3e591eedd
|
Add template for merging sets
|
2017-07-19 14:56:40 +01:00 |
|
Alex Beregszaszi
|
89a1e97e7d
|
Avoid cyclic imports in referencedSourceUnits
|
2017-07-19 14:56:40 +01:00 |
|
Alex Beregszaszi
|
ed592d6ccb
|
Add option to recurse referencedSourceUnits
|
2017-07-19 14:56:40 +01:00 |
|
Alex Beregszaszi
|
a9bddf71aa
|
Add referencedSourceUnits() helper
|
2017-07-19 14:56:40 +01:00 |
|
Alex Beregszaszi
|
1b0ef0b785
|
Add sourceUnit() helper to Declaration
|
2017-07-19 14:56:40 +01:00 |
|
chriseth
|
01a1296e90
|
Helper functions.
|
2017-07-11 11:24:41 +02:00 |
|
Alex Beregszaszi
|
c70d73809a
|
Use boost::starts_with
|
2017-06-28 17:01:55 +01:00 |
|
Alex Beregszaszi
|
06fe61f89b
|
Rename to isHexNumber()
|
2017-06-28 17:01:55 +01:00 |
|
Alex Beregszaszi
|
8b0c866f02
|
Add hasHexPrefix() to AST::Literal
|
2017-06-28 16:57:32 +01:00 |
|
chriseth
|
f340ff8764
|
Fix strings interpreted as addresses.
|
2017-06-22 16:48:44 +02:00 |
|
Alex Beregszaszi
|
d5f8ce90c7
|
Merge interface/Exceptions and interface/Utils
|
2017-06-22 11:25:07 +01:00 |
|
chriseth
|
f300bdb020
|
Move public constructor property into AST itself.
|
2017-03-06 14:12:42 +01:00 |
|
chriseth
|
ca4e2933dd
|
Strict checking for AST annotation types.
|
2017-03-06 14:12:42 +01:00 |
|
chriseth
|
3949624a61
|
Also check library addresses.
|
2017-01-24 23:37:48 +01:00 |
|
chriseth
|
1316bb7565
|
Warn about invalid checksums of addresses.
|
2017-01-24 23:37:48 +01:00 |
|
chriseth
|
7159944f0f
|
Reset AST node IDs between compilation runs.
|
2017-01-20 12:00:16 +01:00 |
|
chriseth
|
005e190885
|
Merge pull request #1397 from roadriverrail/contract_collision
Error out when contracts collide on name
|
2017-01-18 14:28:00 +01:00 |
|
chriseth
|
99eaadd2cd
|
Deterministic AST node identifiers.
|
2017-01-17 10:45:45 +01:00 |
|
Rhett Aultman
|
f10bf36ae3
|
Move fullyQualified() name to Declaration
|
2017-01-16 12:32:57 -05:00 |
|