================
@@ -66,6 +66,12 @@ bool implicitObjectParamIsLifetimeBound(const FunctionDecl
*FD);
using LifetimeBoundParamInfo =
llvm::PointerUnion<const ParmVarDecl *, const CXXMethodDecl *>;
+/// Describes why an argument is tracked as lifetimebound-like.
+struct LifetimeBoundArgInfo {
+ LifetimeBoundParamInfo Param;
+ bool IsInferred = false;
+};
+
----------------
NeKon69 wrote:
Or, we could still have an alias but name it like ` LifetimeBoundParam` since
it's used further in the code.
https://github.com/llvm/llvm-project/pull/220248
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits