D compiler equivilent of "gcc -E" for debug/view template instantiation(generated) code?
dangbinghoo
dangbinghoo at gmail.com
Fri Jul 30 08:38:24 UTC 2021
On Friday, 30 July 2021 at 06:46:18 UTC, WebFreak001 wrote:
> On Friday, 30 July 2021 at 06:00:41 UTC, dangbinghoo wrote:
> Not sure if this is exactly what you want but there is a hidden
> switch in dmd called `-vcg-ast` that prints out all the
> templates instantiated.
>
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
thanks!
dbh.
More information about the Digitalmars-d-learn
mailing list