[clang] [LifetimeSafety] Add report on misuse of clang::noescape (PR #177260)

Utkarsh Saxena via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 25 12:54:08 PST 2026


================
@@ -553,6 +553,12 @@ def LifetimeSafetySuggestions
     Lifetime annotation suggestions for function parameters that should be marked [[clang::lifetimebound]] based on lifetime analysis.
   }];
 }
+def LifetimeSafetyNoescape
+    : DiagGroup<"experimental-lifetime-safety-noescape"> {
----------------
usx95 wrote:

nit: Rebase and remove the `experimental-` prefix.

https://github.com/llvm/llvm-project/pull/177260


More information about the cfe-commits mailing list