d: Support deprecated, @disable, and user-defined attributes on enum members
authorIain Buclaw <ibuclaw@gdcproject.org>
Thu, 7 Jan 2021 21:00:24 +0000 (22:00 +0100)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sat, 9 Jan 2021 22:45:46 +0000 (23:45 +0100)
commit7a103daef78a8f9fc9b2af7c28123f25e8fa7163
tree39e4a1d02b2f424b4d77c4e0b0cdff875467e41d
parentacae7b21bc026150c2c01465e4ab0eacb20bd44d
d: Support deprecated, @disable, and user-defined attributes on enum members

Reviewed-on: https://github.com/dlang/dmd/pull/12108

gcc/d/ChangeLog:

* dmd/MERGE: Merge upstream dmd 9bba772fa.
31 files changed:
gcc/d/dmd/MERGE
gcc/d/dmd/declaration.c
gcc/d/dmd/declaration.h
gcc/d/dmd/denum.c
gcc/d/dmd/dsymbol.c
gcc/d/dmd/dsymbol.h
gcc/d/dmd/enum.h
gcc/d/dmd/expression.c
gcc/d/dmd/expression.h
gcc/d/dmd/expressionsem.c
gcc/d/dmd/mtype.c
gcc/d/dmd/parse.c
gcc/d/dmd/traits.c
gcc/testsuite/gdc.test/compilable/test17908.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/test9701.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/vcg-ast.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/disable.d
gcc/testsuite/gdc.test/fail_compilation/fail10968.d
gcc/testsuite/gdc.test/fail_compilation/fail11355.d
gcc/testsuite/gdc.test/fail_compilation/fail15044.d
gcc/testsuite/gdc.test/fail_compilation/fail341.d
gcc/testsuite/gdc.test/fail_compilation/fail9346.d
gcc/testsuite/gdc.test/fail_compilation/fail_contracts1.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/fail_contracts2.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/fail_contracts3.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/fail_contracts4.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/test17908a.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/test17908b.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/test9701.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/test9701b.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/udaparams.d [new file with mode: 0644]