jansvoboda11 added a comment.

In D93701#2477239 <https://reviews.llvm.org/D93701#2477239>, @jansvoboda11 
wrote:

> Another solution would be to create a "dummy" `DiagnosticsEngine` for the 
> `ParseDiagnosticArgs` calls, but I didn't find a way to do that.

Something like `CompilerInstance::createDiagnostics(new DiagnosticOptions(), 
new IgnoreDiagnostics())` could work. I'll give that a try.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93701/new/

https://reviews.llvm.org/D93701

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to