d: Use toStringExp instead of explicit cast
authorIain Buclaw <ibuclaw@gdcproject.org>
Mon, 15 Jun 2020 15:43:31 +0000 (17:43 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Tue, 16 Jun 2020 21:34:20 +0000 (23:34 +0200)
commit15cf136abe0461f2bcf2ccf7a0e4e495f2362b75
treed169c608afe720ea35458e1c0b729c877094e014
parentd873350a9c402a64cc333ef470131d427cf56b28
d: Use toStringExp instead of explicit cast

gcc/d/ChangeLog:

* d-attribs.cc (build_attributes): Use toStringExp instead of cast.
* toir.cc (IRVisitor::visit): Likewise.
gcc/d/d-attribs.cc
gcc/d/toir.cc