================
@@ -1951,5 +1971,38 @@ TEST_F(LifetimeAnalysisTest, 
LambdaInitCaptureViewByValue) {
   )");
   EXPECT_THAT(Origin("lambda"), HasLoansTo({"obj"}, "after_lambda"));
 }
+
+// ========================================================================= //
+//                    Tests for buildOriginFlowChain
+// ========================================================================= //
+
----------------
suoyuan666 wrote:

Oh, sorry, it seems I misunderstood.

I previously thought the intention here was to modify `c` alongside `b`, so 
that `s` would hold the Loan of `tgt2` after `s = c`.

https://github.com/llvm/llvm-project/pull/196075
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to