================
@@ -30,6 +31,11 @@ namespace clang::lifetimes::internal {
 
 using FactID = utils::ID<struct FactTag>;
 
+struct LifetimeBoundInfo {
+  const ParmVarDecl *Param = nullptr;
+  bool IsImplicitObject = false;
+};
----------------
iitianpushkar wrote:

You are right, Param == nullptr could represent the implicit object case but it 
could also hide an unexpected failure to find a parameter. So, right now, i 
will be keeping both fields. If you happen to be sure about keeping only one 
field, i will change things accordingly.

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

Reply via email to