C2 forum
General Category => Implementation Details => Topic started by: lerno on October 29, 2018, 05:34:47 PM
-
It would be nice to be able to decouple the diagnostics engine. As far as I can tell it's almost always Diag.Report which is used.
Can we have some sort of convenience here?
1. A thread local global (access using macro)
2. A wrapper object (explicitly passed in like the DE object is used today)
3. Pull out the DE and push a copy into C2 that we can handle and update like we want.
-
I would at least like to keep the option open to do parsing + analysis in multiple-threads.