[llvm] Reapply "[Dexter] Add rewriting for aggregate variables (#202800)" (PR #206535)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 30 03:38:02 PDT 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 cpp -- cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_aggregates_expected.cpp cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_list_aggregates_expected.cpp cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_aggregates.cpp cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_list_aggregates.cpp cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_expect_list_expected.cpp cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_expect_list.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/cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_expect_list_expected.cpp b/cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_expect_list_expected.cpp
index 0d7965c03..ebd2aa63b 100644
--- a/cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_expect_list_expected.cpp
+++ b/cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_expect_list_expected.cpp
@@ -2,8 +2,9 @@
 // RUN: mkdir %t
 // RUN: %dexter_regression_test_cxx_build %s -o %t/test
 // RUN: %dexter_regression_test_run --use-script --binary %t/test \
-// RUN:   --results-directory %t/results -- %s 2>&1 | FileCheck %s --dump-input-context 9999
-// RUN: diff %t/results/%{s:basename} %S/Inputs/rewrite_expect_list_expected.cpp
+// RUN:   --results-directory %t/results -- %s 2>&1 | FileCheck %s
+// --dump-input-context 9999 RUN: diff %t/results/%{s:basename}
+// %S/Inputs/rewrite_expect_list_expected.cpp
 
 /// Test that Dexter can write lists of expected values for simple scalar
 /// variables.
diff --git a/cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_expect_list.cpp b/cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_expect_list.cpp
index 88b4556aa..fc6ae3b8a 100644
--- a/cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_expect_list.cpp
+++ b/cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_expect_list.cpp
@@ -2,8 +2,9 @@
 // RUN: mkdir %t
 // RUN: %dexter_regression_test_cxx_build %s -o %t/test
 // RUN: %dexter_regression_test_run --use-script --binary %t/test \
-// RUN:   --results-directory %t/results -- %s 2>&1 | FileCheck %s --dump-input-context 9999
-// RUN: diff %t/results/%{s:basename} %S/Inputs/rewrite_expect_list_expected.cpp
+// RUN:   --results-directory %t/results -- %s 2>&1 | FileCheck %s
+// --dump-input-context 9999 RUN: diff %t/results/%{s:basename}
+// %S/Inputs/rewrite_expect_list_expected.cpp
 
 /// Test that Dexter can write lists of expected values for simple scalar
 /// variables.

``````````

</details>


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


More information about the llvm-commits mailing list