[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 06:45:42 PST 2026


================
@@ -0,0 +1,172 @@
+// RUN: %clang_cc1 -fsyntax-only -flifetime-safety -flifetime-safety-inference -Wlifetime-safety-noescape -verify %s
----------------
vbvictor wrote:

```suggestion
// RUN: %clang_cc1 -fsyntax-only -flifetime-safety-inference -Wlifetime-safety-noescape -verify %s
```

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


More information about the cfe-commits mailing list