================
@@ -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}}
----------------
usx95 wrote:

Thanks. I had the same comment as Nekon. To resolve this:
`shouldShowInAliasingChain` should skip printing MTE in flow chains.

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

Reply via email to