LDC 1.15.0

kinke noone at nowhere.com
Fri Apr 12 13:54:05 UTC 2019


On Friday, 12 April 2019 at 13:26:14 UTC, jmh530 wrote:
> The @llvmAttr("noalias") compiled on run.dlang.org, but I 
> couldn't get the @restrict to work. I assume that uses the most 
> recent version of LDC, but I don't really know.

--version as cmdline switch tells you the run.dlang.io version is 
still at v1.14 (as is the ldc-beta there).

> unless you have other recommendations.

I'd use something like

version (LDC) import ldc.attributes : restrict;
else          enum restrict = null;



More information about the Digitalmars-d-announce mailing list