[clang] [LifetimeSafety] Warn on meaningless [[clang::lifetimebound]] parameters (PR #201101)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 3 07:52:54 PDT 2026
================
@@ -0,0 +1,76 @@
+// RUN: %clang_cc1 -fsyntax-only -Wlifetime-safety-meaningless-lifetimebound -Wno-dangling -verify %s
+
----------------
NeKon69 wrote:
I don't follow. How can it ever fire? I don't even have specialized logic for handling implicit this..
https://github.com/llvm/llvm-project/pull/201101
More information about the cfe-commits
mailing list