[clang] [LifetimeSafety] Warn on meaningless [[clang::lifetimebound]] parameters (PR #201101)
Utkarsh Saxena via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 2 13:01:29 PDT 2026
================
@@ -467,6 +468,23 @@ class LifetimeChecker {
}
}
+ static bool canBeLifetimebound(QualType QT) {
----------------
usx95 wrote:
nit: rename to `canParamBeLifetimebound` to avoid confusing with return type.
https://github.com/llvm/llvm-project/pull/201101
More information about the cfe-commits
mailing list