[clang] [LifetimeSafety] Add report on misuse of clang::noescape (PR #177260)
Utkarsh Saxena via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 26 06:41:15 PST 2026
================
@@ -0,0 +1,172 @@
+// RUN: %clang_cc1 -fsyntax-only -flifetime-safety -flifetime-safety-inference -Wlifetime-safety-noescape -verify %s
----------------
usx95 wrote:
nit: remove `-flifetime-safety`. This is on by default for now and will be deprecated/removed in subsequent releases.
https://github.com/llvm/llvm-project/pull/177260
More information about the cfe-commits
mailing list