================
@@ -30,6 +31,11 @@ namespace clang::lifetimes::internal {
using FactID = utils::ID<struct FactTag>;
+struct LifetimeBoundInfo {
+ const ParmVarDecl *Param = nullptr;
+ bool IsImplicitObject = false;
+};
----------------
NeKon69 wrote:
As a side thought, I think we *could* delete the second parameter, and
represent implicit object if `Param` is nullptr, but I am not sure if it will
be a good idea (if for example something have gone wrong and `Param` is
`nullptr` not because it's an implicit object but because something have gone
wrong)
https://github.com/llvm/llvm-project/pull/206337
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits