aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-04-05 22:25:20 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-04-09 21:26:08 +0800
commitb918a105a40aa90fe9b89eecbcdfc7ac2937c141 (patch)
treea4dc43f3387888817455d03633b02850d86a9832 /libsolidity/ast
parentb8fdb666e235bb6b19f11dba7740227026111598 (diff)
downloaddexon-solidity-b918a105a40aa90fe9b89eecbcdfc7ac2937c141.tar.gz
dexon-solidity-b918a105a40aa90fe9b89eecbcdfc7ac2937c141.tar.zst
dexon-solidity-b918a105a40aa90fe9b89eecbcdfc7ac2937c141.zip
Move constructor argument override check to TypeChecker and reuse annotations in ContractCompiler.
Diffstat (limited to 'libsolidity/ast')
-rw-r--r--libsolidity/ast/ASTAnnotations.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libsolidity/ast/ASTAnnotations.h b/libsolidity/ast/ASTAnnotations.h
index 3d4236cc..5cbe42bd 100644
--- a/libsolidity/ast/ASTAnnotations.h
+++ b/libsolidity/ast/ASTAnnotations.h
@@ -90,6 +90,9 @@ struct ContractDefinitionAnnotation: TypeDeclarationAnnotation, DocumentedAnnota
/// List of contracts this contract creates, i.e. which need to be compiled first.
/// Also includes all contracts from @a linearizedBaseContracts.
std::set<ContractDefinition const*> contractDependencies;
+ /// Mapping containing the nodes that define the arguments for base constructors.
+ /// These can either be inheritance specifiers or modifier invocations.
+ std::map<FunctionDefinition const*, ASTNode const*> baseConstructorArguments;
};
struct FunctionDefinitionAnnotation: ASTAnnotation, DocumentedAnnotation