[llvm] Change type of DiagnosticHandlerTy (PR #86504)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 25 06:41:17 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 4d69855e9d380ecb7c1f7a64c7b37258fe36f525 661018b599d0e34eae3d968593fa92154e1466d0 -- llvm/include/llvm/IR/DiagnosticHandler.h llvm/unittests/Linker/LinkModulesTest.cpp llvm/unittests/Support/ThreadPool.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/IR/DiagnosticHandler.h b/llvm/include/llvm/IR/DiagnosticHandler.h
index aa1e4d14e8..1f0544b9fa 100644
--- a/llvm/include/llvm/IR/DiagnosticHandler.h
+++ b/llvm/include/llvm/IR/DiagnosticHandler.h
@@ -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);
/// DiagHandlerCallback is settable from the C API and base implementation
/// of DiagnosticHandler will call it from handleDiagnostics(). Any derived
``````````
</details>
https://github.com/llvm/llvm-project/pull/86504
More information about the llvm-commits
mailing list