================
@@ -834,7 +834,7 @@ void lifetimebound_multiple_args_definite() {
                       // expected-note {{result of call to 'Choose' aliases 
the storage of local variable 'obj2'}}
                obj1,  // expected-warning {{local variable 'obj1' does not 
live long enough}}
                obj2); // expected-warning {{local variable 'obj2' does not 
live long enough}}
-  }                              // expected-note 2 {{destroyed here}}
+  }                              // expected-note {{local variable 'obj1' is 
destroyed here}} expected-note {{local variable 'obj2' is destroyed here}}
----------------
usx95 wrote:

2 notes on the same line is hard to follow. I would put them on separate line 
with a trailing `\` as suggested before.

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

Reply via email to