d: Use new isXxxxExp helpers where possible
authorIain Buclaw <ibuclaw@gdcproject.org>
Mon, 15 Jun 2020 15:39:12 +0000 (17:39 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Tue, 16 Jun 2020 21:33:58 +0000 (23:33 +0200)
commitd873350a9c402a64cc333ef470131d427cf56b28
treeec6eec46d4a04dfdb16d314e9e36fa69d2e93081
parent6c4db916e28bf97a729ec06ff71da03963f0f7e4
d: Use new isXxxxExp helpers where possible

gcc/d/ChangeLog:

* d-attribs.cc (build_attributes): Use isXxxxExp helpers instead of
explicit casts.
* d-codegen.cc (d_build_call): Likewise.
* d-compiler.cc (Compiler::paintAsType): Likewise.
* decl.cc (ExprVisitor::visit): Likewise.
(layout_class_initializer): Likewise.
* expr.cc (ExprVisitor::lvalue_p): Likewise
(ExprVisitor::visit): Likewise.
* types.cc (layout_aggregate_members): Likewise.
gcc/d/d-attribs.cc
gcc/d/d-codegen.cc
gcc/d/d-compiler.cc
gcc/d/decl.cc
gcc/d/expr.cc
gcc/d/types.cc