https://github.com/fmayer updated https://github.com/llvm/llvm-project/pull/163876
>From e73fe795255bedcc6e2aabe54f8aea04dc61fee0 Mon Sep 17 00:00:00 2001 From: Florian Mayer <[email protected]> Date: Wed, 22 Oct 2025 16:23:27 -0700 Subject: [PATCH] fix test Created using spr 1.3.7 --- .../FlowSensitive/UncheckedStatusOrAccessModelTestFixture.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clang/unittests/Analysis/FlowSensitive/UncheckedStatusOrAccessModelTestFixture.cpp b/clang/unittests/Analysis/FlowSensitive/UncheckedStatusOrAccessModelTestFixture.cpp index 42c43a4622f44..767e6f384bef5 100644 --- a/clang/unittests/Analysis/FlowSensitive/UncheckedStatusOrAccessModelTestFixture.cpp +++ b/clang/unittests/Analysis/FlowSensitive/UncheckedStatusOrAccessModelTestFixture.cpp @@ -2961,8 +2961,7 @@ TEST_P(UncheckedStatusOrAccessModelTest, Emplace) { bool sor_ok = sor.ok(); if (b) sor.emplace(42); - else if (sor_ok) - sor.value(); + sor.value(); } )cc"); ExpectDiagnosticsFor(R"cc( _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
