d: Merge upstream dmd 955b8b36f.
authorIain Buclaw <ibuclaw@gdcproject.org>
Mon, 8 Jun 2020 19:57:59 +0000 (21:57 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Mon, 8 Jun 2020 20:02:18 +0000 (22:02 +0200)
commit49a09af117be32adf230efd2c52a41f810b9ee04
treeb80a467ae0cf80347884d81b45332229fe9a236a
parent8cd239614e43c9dcc0838845aec504e5eb938dbd
d: Merge upstream dmd 955b8b36f.

Merges AndAndExp and OrOrExp into a LogicalExp AST node.

gcc/d/ChangeLog:

* dmd/MERGE: Merge upstream dmd 955b8b36f.
* expr.cc (ExprVisitor::visit (AndAndExp *)): Rename type to ...
(ExprVisitor::visit (LogicalExp *)): ... this.  Handle both 'and if'
and 'or if' expression nodes.
(ExprVisitor::visit (OrOrExp *)): Remove.
12 files changed:
gcc/d/dmd/MERGE
gcc/d/dmd/dinterpret.c
gcc/d/dmd/expression.c
gcc/d/dmd/expression.h
gcc/d/dmd/expressionsem.c
gcc/d/dmd/opover.c
gcc/d/dmd/optimize.c
gcc/d/dmd/parse.c
gcc/d/dmd/sideeffect.c
gcc/d/dmd/staticcond.c
gcc/d/dmd/visitor.h
gcc/d/expr.cc