D compiler equivilent of "gcc -E" for debug/view template instantiation(generated) code?

Stefan Koch uplink.coder at googlemail.com
Fri Jul 30 10:20:36 UTC 2021


On Friday, 30 July 2021 at 09:30:13 UTC, Mike Parker wrote:
> On Friday, 30 July 2021 at 08:38:24 UTC, dangbinghoo wrote:
>>
>>
>> but, where's these switch option documented? it seems it not 
>> appears in dmd --help or man dmd, or online document 
>> https://dlang.org/dmd-linux.html
>>
>>
>
> That's what he meant by "hidden" switch. I don't know why it 
> isn't documented, but it probably should be.

The reason why it's not documented is because we don't want 
people to rely on the format of the output.
I guess if we put that disclaimer in the docs we could ...


More information about the Digitalmars-d-learn mailing list