================
@@ -277,21 +277,21 @@ View return_view_field(const ViewProvider& v) { //
expected-warning {{paramet
void test_get_on_temporary_pointer() {
const ReturnsSelf* s_ref = &ReturnsSelf().get(); // expected-warning
{{temporary object does not live long enough}}.
- // expected-note@-1
{{destroyed here}}
+ // expected-note@-1 {{is
destroyed here}}
----------------
NeKon69 wrote:
If you can, then ideally we want the full text. I hope it's not too much work..
https://github.com/llvm/llvm-project/pull/204900
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits