determine ldc version in static if or version?

Arine arine123445128843 at gmail.com
Thu Apr 2 17:50:23 UTC 2020


On Thursday, 2 April 2020 at 01:35:42 UTC, Adam D. Ruppe wrote:
> On Thursday, 2 April 2020 at 01:27:26 UTC, Nicholas Wilson 
> wrote:
>> https://github.com/ldc-developers/druntime/blob/ldc/src/ldc/intrinsics.di#L22-L34
>
> ah excellent that will do. thanks!

Not sure if that is what you are looking for. You can build the 
latest LDC with LLVM 6.0, which would have the version be 600. So 
for different distros they might just the version of LLVM that's 
already installed.

Unless the change you trying to detect is caused by a specific 
version of LLVM?


More information about the Digitalmars-d-learn mailing list