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

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 24 08:19:13 PST 2026


================
@@ -0,0 +1,173 @@
+// RUN: %clang_cc1 -x c++ -fexperimental-lifetime-safety -Wexperimental-lifetime-safety-noescape -Wno-dangling -verify %s
----------------
vbvictor wrote:

```suggestion
// RUN: %clang_cc1 -fexperimental-lifetime-safety -Wexperimental-lifetime-safety-noescape -Wno-dangling -verify %s
```


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


More information about the cfe-commits mailing list