[clang] Refactor (PR #182523)

via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 20 08:12:24 PST 2026


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 origin/main HEAD --extensions h,cpp -- clang/unittests/Analysis/Scalable/Serialization/JSONFormatTest/JSONFormatTest.h clang/unittests/Analysis/Scalable/Serialization/JSONFormatTest/TUSummaryTest.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/clang/unittests/Analysis/Scalable/Serialization/JSONFormatTest/TUSummaryTest.cpp b/clang/unittests/Analysis/Scalable/Serialization/JSONFormatTest/TUSummaryTest.cpp
index e953c7d88..b1c89a899 100644
--- a/clang/unittests/Analysis/Scalable/Serialization/JSONFormatTest/TUSummaryTest.cpp
+++ b/clang/unittests/Analysis/Scalable/Serialization/JSONFormatTest/TUSummaryTest.cpp
@@ -1,5 +1,5 @@
 //===-
-//unittests/Analysis/Scalable/Serialization/JSONFormatTest/TUSummaryTest.cpp
+// unittests/Analysis/Scalable/Serialization/JSONFormatTest/TUSummaryTest.cpp
 //===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

``````````

</details>


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


More information about the cfe-commits mailing list