aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/dmd/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/d/dmd/init.h')
-rw-r--r--gcc/d/dmd/init.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/d/dmd/init.h b/gcc/d/dmd/init.h
index 6f98fdb..4ba18d6 100644
--- a/gcc/d/dmd/init.h
+++ b/gcc/d/dmd/init.h
@@ -1,6 +1,6 @@
/* Compiler implementation of the D programming language
- * Copyright (C) 1999-2020 by The D Language Foundation, All Rights Reserved
+ * Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
* written by Walter Bright
* http://www.digitalmars.com
* Distributed under the Boost Software License, Version 1.0.
@@ -21,6 +21,7 @@ class Expression;
struct Scope;
class Type;
class AggregateDeclaration;
+class Initializer;
class ErrorInitializer;
class VoidInitializer;
class StructInitializer;
@@ -29,6 +30,8 @@ class ExpInitializer;
enum NeedInterpret { INITnointerpret, INITinterpret };
+Initializer *initializerSemantic(Initializer *init, Scope *sc, Type *t, NeedInterpret needInterpret);
+
class Initializer : public ASTNode
{
public: