================
@@ -117,3 +121,8 @@ void ok_global_storage() {
   ++p;
   global = (p -= 1); // no-warning
 }
+//when a local string is stored in a global view and then moved, the analyzer 
warns it "may" dangle since the storage may have been moved
----------------
usx95 wrote:

Capitalise and leave a space after `// When`.

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

Reply via email to