NeKon69 wrote: Hmm I think adding a run with ` -Wlifetime-safety-all` will not be a good idea. I think the warning should trigger if you just add a test that exercises the moved behavior with global (you can take as an analogy tests in dangling-field.cpp), because it's not tested at all currently. Your file choice is fine.
https://github.com/llvm/llvm-project/pull/204891 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
