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

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 19 04:39:33 PDT 2026


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

Could we add this to one of the existing test files? Also, for these tests we do not really need to define a macro.

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


More information about the cfe-commits mailing list