aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/dmd/declaration.h
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2025-01-08 21:02:56 +0100
committerIain Buclaw <ibuclaw@gdcproject.org>2025-01-12 21:53:50 +0100
commit0dd21bce3afe9b0081d1d5bf4b53f9b43980c1c4 (patch)
tree4326f2031f50a7a326d79c25589ff50d00e36e77 /gcc/d/dmd/declaration.h
parenta236f70617213343f3075ee43e8d9f5882dca400 (diff)
downloadgcc-0dd21bce3afe9b0081d1d5bf4b53f9b43980c1c4.zip
gcc-0dd21bce3afe9b0081d1d5bf4b53f9b43980c1c4.tar.gz
gcc-0dd21bce3afe9b0081d1d5bf4b53f9b43980c1c4.tar.bz2
d: Merge upstream dmd, druntime c57da0cf59, phobos ad8ee5587
D front-end changes: - Import latest fixes from dmd v2.110.0-beta.1. - The `align' attribute now allows to specify `default' explicitly. - Add primary expression of the form `__rvalue(expression)' which causes `expression' to be treated as an rvalue, even if it is an lvalue. - Shortened method syntax can now be used in constructors. D runtime changes: - Import latest fixes from druntime v2.110.0-beta.1. Phobos changes: - Import latest fixes from phobos v2.110.0-beta.1. gcc/d/ChangeLog: * dmd/MERGE: Merge upstream dmd c57da0cf59. * d-codegen.cc (can_elide_copy_p): New. (d_build_call): Use it. * d-lang.cc (d_post_options): Update for new front-end interface. libphobos/ChangeLog: * libdruntime/MERGE: Merge upstream druntime c57da0cf59. * src/MERGE: Merge upstream phobos ad8ee5587. * testsuite/libphobos.init_fini/custom_gc.d: Adjust test. gcc/testsuite/ChangeLog: * gdc.dg/copy1.d: New test.
Diffstat (limited to 'gcc/d/dmd/declaration.h')
-rw-r--r--gcc/d/dmd/declaration.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/d/dmd/declaration.h b/gcc/d/dmd/declaration.h
index bdefd2d..a98213d 100644
--- a/gcc/d/dmd/declaration.h
+++ b/gcc/d/dmd/declaration.h
@@ -782,6 +782,7 @@ class CtorDeclaration final : public FuncDeclaration
{
public:
d_bool isCpCtor;
+ d_bool isMoveCtor;
CtorDeclaration *syntaxCopy(Dsymbol *) override;
const char *kind() const override;
const char *toChars() const override;