opApply Magic Function Body Transformation

Mike Shah mshah.475 at gmail.com
Mon Jul 28 19:28:54 UTC 2025


On Monday, 28 July 2025 at 18:57:27 UTC, kinke wrote:
> On Monday, 28 July 2025 at 14:28:57 UTC, Mike Shah wrote:
>> Is there somewhere already in LDC2 where I can dump out the 
>> generated transformation (Otherwise I can probably read the IR 
>> well enough)?
>
> Yeah I'm afraid the IR is probably the best source. LDC's `-vv` 
> verbose codegen output would show the actual AST, but as a tree 
> with lots of here unneeded infos.

Ah, I hadn't used -vv. Between that and the IR that should work 
well enough. Thank you again!


More information about the Digitalmars-d-learn mailing list