================
@@ -245,7 +245,8 @@ std::string_view containerWithAnnotatedElements() {
use(c1); // cfg-note {{later
used here}}
c1 = std::vector<std::string>().at(0); // expected-warning {{object backing
the pointer}} \
- // cfg-warning {{local temporary
object does not live long enough}} cfg-note {{destroyed here}}
+ // cfg-warning {{local temporary
object does not live long enough}} cfg-note {{destroyed here}} \
+ // cfg-note {{local temporary object
aliases the storage of local temporary object}}
----------------
NeKon69 wrote:
Let's keep it as is for now. We can ask @usx95 for final confirmation.
https://github.com/llvm/llvm-project/pull/199345
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits