================
@@ -470,6 +468,23 @@ class LifetimeChecker {
     }
   }
 
+  static bool canBeLifetimebound(QualType QT) {
+    if (QT->isReferenceType() || QT->isPointerType())
----------------
Xazax-hun wrote:

Nit: if we want to future proof for ObjC, we could use `isAnyPointerType`.

https://github.com/llvm/llvm-project/pull/201101
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to