Use nonlinear clauses instead of inlining for base constructors

This commit is contained in:
Leonardo Alt
2020-12-04 13:25:56 +01:00
parent a27d7707c8
commit 7490ffbe13
35 changed files with 811 additions and 186 deletions
+3
View File
@@ -77,6 +77,9 @@ public:
/// @returns the SourceUnit that contains _scopable.
static SourceUnit const* sourceUnitContaining(Scopable const& _scopable);
/// @returns the arguments for each base constructor call in the hierarchy of @a _contract.
std::map<ContractDefinition const*, std::vector<ASTPointer<frontend::Expression>>> baseArguments(ContractDefinition const& _contract);
protected:
// TODO: Check that we do not have concurrent reads and writes to a variable,
// because the order of expression evaluation is undefined