================
@@ -360,7 +403,9 @@ IntrusiveRefCntPtr<DiagnosticsEngine> 
CompilerInstance::createDiagnostics(
   if (Client) {
     Diags->setClient(Client, ShouldOwnClient);
   } else if (Opts.getFormat() == DiagnosticOptions::SARIF) {
-    Diags->setClient(new SARIFDiagnosticPrinter(llvm::errs(), Opts));
+    /* TO_UPSTREAM(SARIF) ON */
----------------
steakhal wrote:

Were these special comments intentional here?
Same for the comments a few lines below.

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

Reply via email to