[clang] c88e207 - [LifetimeSafety] Fix typo which breaks the test
via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 6 19:08:01 PST 2025
Author: Utkarsh Saxena
Date: 2025-11-06T22:07:56-05:00
New Revision: c88e207bf16f3f6467c1a55dbda58070313a02e7
URL: https://github.com/llvm/llvm-project/commit/c88e207bf16f3f6467c1a55dbda58070313a02e7
DIFF: https://github.com/llvm/llvm-project/commit/c88e207bf16f3f6467c1a55dbda58070313a02e7.diff
LOG: [LifetimeSafety] Fix typo which breaks the test
Fixes test failure introduced by a typo in https://github.com/llvm/llvm-project/pull/165789
Added:
Modified:
clang/unittests/Analysis/LifetimeSafetyTest.cpp
Removed:
################################################################################
diff --git a/clang/unittests/Analysis/LifetimeSafetyTest.cpp b/clang/unittests/Analysis/LifetimeSafetyTest.cpp
index f27b56eb518aa..34af476843c0d 100644
--- a/clang/unittests/Analysis/LifetimeSafetyTest.cpp
+++ b/clang/unittests/Analysis/LifetimeSafetyTest.cpp
@@ -529,7 +529,7 @@ TEST_F(LifetimeAnalysisTest, PointersInACycle) {
MyObj* temp = p1;
p1 = p2;
p2 = p3;
- p3 = temp;B
+ p3 = temp;
POINT(in_loop);
}
POINT(after_loop);
More information about the cfe-commits
mailing list