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;