[clang] [NFC] add DiagnosticsTestHelper decl (PR #112820)

via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 18 08:42:11 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 c3bbc3a57d439a039d2ea49d9b7e0f6e1c87219d a40fb059ae8bb81806cc399361c48ea5caca0336 --extensions cpp -- clang/unittests/Basic/DiagnosticTest.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/unittests/Basic/DiagnosticTest.cpp b/clang/unittests/Basic/DiagnosticTest.cpp
index 54b32bc2bb..0cb6db686c 100644
--- a/clang/unittests/Basic/DiagnosticTest.cpp
+++ b/clang/unittests/Basic/DiagnosticTest.cpp
@@ -17,7 +17,7 @@ using namespace llvm;
 using namespace clang;
 
 namespace clang {
-   void DiagnosticsTestHelper(DiagnosticsEngine &diag);
+void DiagnosticsTestHelper(DiagnosticsEngine &diag);
 }
 
 void clang::DiagnosticsTestHelper(DiagnosticsEngine &diag) {

``````````

</details>


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


More information about the cfe-commits mailing list