================
@@ -3284,3 +3284,76 @@ void assign_non_capturing_to_function_ref(function_ref
&r) {
}
} // namespace GH126600
+
+//===----------------------------------------------------------------------===//
----------------
usx95 wrote:
Can you also try to turn this on in
`clang/test/Sema/warn-lifetime-analysis-capture-by.cpp`. We might need to add
"uses" of pointer to trigger the warning.
https://github.com/llvm/llvm-project/pull/196884
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits