[llvm] Change type of DiagnosticHandlerTy (PR #86504)

Abhin P Jose via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 25 06:56:22 PDT 2024


================
@@ -28,7 +28,7 @@ struct DiagnosticHandler {
       : DiagnosticContext(DiagContext) {}
   virtual ~DiagnosticHandler() = default;
 
-  using DiagnosticHandlerTy = void (*)(const DiagnosticInfo &DI, void *Context);
+  using DiagnosticHandlerTy = void (*)(const DiagnosticInfo *DI, void *Context);
 
----------------
Abhinkop wrote:

I am not sure if this change will break some other projects.

https://github.com/llvm/llvm-project/pull/86504


More information about the llvm-commits mailing list