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

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 26 03:52:17 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"> {
----------------
vbvictor wrote:

Yeah, I previously wondered why build fails in CI but not locally

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


More information about the cfe-commits mailing list