[llvm-branch-commits] [clang] [NFC] [FlowSensitive] [StatusOr] add test for coroutine crash (PR #182604)
Florian Mayer via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Feb 20 14:51:55 PST 2026
https://github.com/fmayer updated https://github.com/llvm/llvm-project/pull/182604
>From 504f37b80dd816cb8de28c2608a07c83a4daee44 Mon Sep 17 00:00:00 2001
From: Florian Mayer <fmayer at google.com>
Date: Fri, 20 Feb 2026 14:31:00 -0800
Subject: [PATCH] test
Created using spr 1.3.7
---
.../FlowSensitive/UncheckedStatusOrAccessModelTestFixture.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang/unittests/Analysis/FlowSensitive/UncheckedStatusOrAccessModelTestFixture.cpp b/clang/unittests/Analysis/FlowSensitive/UncheckedStatusOrAccessModelTestFixture.cpp
index c5f3b5d94e631..e590d79ea212f 100644
--- a/clang/unittests/Analysis/FlowSensitive/UncheckedStatusOrAccessModelTestFixture.cpp
+++ b/clang/unittests/Analysis/FlowSensitive/UncheckedStatusOrAccessModelTestFixture.cpp
@@ -4543,7 +4543,7 @@ TEST_P(UncheckedStatusOrAccessModelTest, DISABLED_Coroutine) {
} else {
sor.value(); // [[unsafe]]
}
- co_return sor;
+ co_return sor; // [[unsafe]]
}
Task<int> target() {
auto x = co_await call(Make<STATUSOR_INT>());
More information about the llvm-branch-commits
mailing list