[clang] [clang][dataflow] Add test repro for a crash (PR #128065)

via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 20 13:00:50 PST 2025


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 6e7da07c73c179396e21fb729ac14d6b2a1c3152 a7002fb5a61c2f6f3c4df2347b6d5f861bf45f8e --extensions cpp -- clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp b/clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp
index 6ece51d84c..4820c8613e 100644
--- a/clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp
+++ b/clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp
@@ -3881,7 +3881,6 @@ TEST_P(UncheckedOptionalAccessTest, ConstructorOtherStructField) {
   )cc");
 }
 
-
 // FIXME: Add support for:
 // - constructors (copy, move)
 // - assignment operators (default, copy, move)

``````````

</details>


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


More information about the cfe-commits mailing list