pragma(inline, true) errors?

Johan Engelen j at j.nl
Sat Apr 3 20:29:59 UTC 2021


On Saturday, 3 April 2021 at 12:04:18 UTC, Max Haughton wrote:
>
> GCC has a similar set of flags, including 
> `@attribute("flatten")` which inlines the called functions 
> rather than the the function in it's caller.

Interesting!
Is this useful for anyone? We can implement something close to 
this fairly easily in LDC, but I'd rather wait until this LLVM 
PR: https://reviews.llvm.org/D70366

-Johan




More information about the Digitalmars-d mailing list