================
@@ -194,6 +201,13 @@ class LifetimeChecker {
     }
   }
 
+  void reportNoescapeViolations() {
+    if (!Reporter)
+      return;
+    for (const auto &[PVD, EscapeExpr] : NoescapeWarningsMap)
----------------
Xazax-hun wrote:

Nit: I think we should iterate through these by values as these are pairs of 
small pointers.

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

Reply via email to