[clang] [LifetimeSafety] Warn on meaningless [[clang::lifetimebound]] parameters (PR #201101)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 2 05:01:59 PDT 2026
NeKon69 wrote:
Honestly, I feel like this can be made simpler and more accurate after we add support for field origins. We could just check whether the type has origins and diagnose the parameter based on that. But it’s not that big of a deal anyway, just a one function rewrite, so I think this PR is still meaningful.
https://github.com/llvm/llvm-project/pull/201101
More information about the cfe-commits
mailing list