[clang] [LifetimeSafety] resolved lifetimeBound violation in constructor (PR #204797)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 22 01:40:41 PDT 2026


================
@@ -0,0 +1,35 @@
+// RUN: %clang_cc1 -fsyntax-only -Wlifetime-safety-all -verify %s
----------------
NeKon69 wrote:

We have a test that applies fixits and runs compilation afterwards, we should add this test there.

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


More information about the cfe-commits mailing list