================
@@ -3284,3 +3284,76 @@ void assign_non_capturing_to_function_ref(function_ref 
&r) {
 }
 
 } // namespace GH126600
+
+//===----------------------------------------------------------------------===//
----------------
kashika0112 wrote:

As discussed and mentioned in the above comments, I'll update 
`LifetimeAnnotatedOriginTypeCollector` in a follow-up PR, post-which the simple 
structs should show warnings in 
`clang/test/Sema/warn-lifetime-analysis-capture-by.cpp`.

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

Reply via email to