erichkeane wrote:

I did a pretty simple split of the diagnostics to reuse the engine as 
requested.  The design of this is pretty limited thanks to the completeness of 
DiagnosticsEngine in DiagnosticIDs.h, and that most of the stuff that 
DiagnosticIDs uses is private.

So this pulls the single-diagnostic check into a lambda, then checks them all.  
It rewrites the 'old' check to use this array version as well to maximize code 
reuse.

https://github.com/llvm/llvm-project/pull/206820
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to